SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftTree/NET 2.0 - Tree Control
Defines whether the drop down button is a toggle button.
Get
| VB.NET | Boolean = object.DropDownToggle As Boolean |
| VB | Boolean = object.DropDownToggle As Boolean |
| C#.NET | bool Boolean = object.DropDownToggle; |
| VC++ | VARIANT_BOOL Boolean = object->DropDownToggle; VARIANT_BOOL Boolean = object->GetDropDownToggle(); |
| C | HRESULT object->get_DropDownToggle(VARIANT_BOOL* Boolean); |
Put
| VB.NET | object.DropDownToggle = Boolean As Boolean |
| VB | object.DropDownToggle = Boolean As Boolean |
| C#.NET | bool object.DropDownToggle = Boolean; |
| VC++ | VARIANT_BOOL object->DropDownToggle = Boolean; void object->PutDropDownToggle(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_DropDownToggle(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether the drop down button is a toggle button.
| Boolean | Description |
|---|---|
| True | The drop down button is a toggle button. |
| False | The drop down button is not a toggle button and automatically returns to its released state after being pressed. |
The DropDownToggle property defines whether the drop down button is a toggle button.
Once the mouse button is released after clicking a button, a button usually returns to its released position (i.e., not pressed). By defining the drop down button as a toggle button using the DropDownToggle property, the drop down button can instead act as an on/off switch. Each mouse click will alternate between the pressed and released positions.
The status of the drop down button can be defined using the DropDownPressed property.
The button portion is controlled by the equivalent Toggle property.
See Also SftButton Object | Object Hierarchy
