SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines whether the drop down portion is shown when the control receives the input focus.
Get
VB.NET | Boolean = object.DropOnFocus As Boolean |
VB | Boolean = object.DropOnFocus As Boolean |
C#.NET | bool Boolean = object.DropOnFocus; |
VC++ | VARIANT_BOOL Boolean = object->DropOnFocus; VARIANT_BOOL Boolean = object->GetDropOnFocus(); |
C | HRESULT object->get_DropOnFocus(VARIANT_BOOL* Boolean); |
Put
VB.NET | object.DropOnFocus = Boolean As Boolean |
VB | object.DropOnFocus = Boolean As Boolean |
C#.NET | bool object.DropOnFocus = Boolean; |
VC++ | VARIANT_BOOL object->DropOnFocus = Boolean; void object->PutDropOnFocus(VARIANT_BOOL Boolean); |
C | HRESULT object->put_DropOnFocus(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether the drop down portion is shown when the control receives the input focus.
Boolean | Description |
---|---|
True | The drop down portion automatically becomes visible when the control receives the input focus. |
False | The drop down portion does not change when the control receives the input focus. |
The DropOnFocus property defines whether the drop down portion is shown when the control receives the input focus.
If the control already has the input focus when this property is set, the drop down portion remains unchanged.
The DropDown.Dropped property can be used to display and hide the drop down portion.
This property has no effect on a simple combo box.
See Also SftBoxDropDown Object | Object Hierarchy