|
|
|
SftButton.DropDownDownClick Property |
Defines whether the drop down button fires the DropDownClick event when the mouse button is either pressed or released.
Syntax
VB.NET |
Boolean = object.DropDownDownClick As Boolean |
||
VB |
Boolean = object.DropDownDownClick As Boolean |
||
C#.NET |
bool Boolean = object.DropDownDownClick; |
||
VC++ |
VARIANT_BOOL Boolean = object->DropDownDownClick;
|
||
C |
HRESULT object->get_DropDownDownClick(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.DropDownDownClick : WordBool; |
||
VB.NET |
object.DropDownDownClick = Boolean As Boolean |
||
VB |
object.DropDownDownClick = Boolean As Boolean |
||
C#.NET |
bool object.DropDownDownClick = Boolean; |
||
VC++ |
VARIANT_BOOL object->DropDownDownClick = Boolean;
|
||
C |
HRESULT object->put_DropDownDownClick(VARIANT_BOOL Boolean); |
||
Delphi |
object.DropDownDownClick := Boolean : WordBool; |
object
A SftButton object.
Boolean
Defines whether the drop down button fires the DropDownClick event when the mouse button is either pressed or released.
Boolean |
Description |
True |
The DropDownClick event is fired as the mouse button is pressed. |
False |
The DropDownClick event is fired as the mouse button is released. |
Comments
The DropDownDownClick property defines whether the drop down button fires the DropDownClick event when the mouse button is either pressed or released.
The DropDownDblClick event is also affected by this property.
A button control (including a Windows button control) normally doesn't fire the Click event until the mouse button is released. Using the DropDownDownClick property, this behavior can be changed for the drop down button. This is typically used when the drop down button displays a popup menu.
Only the drop down button is affected by this property. There is no equivalent property for the button portion.