|
|
|
SftTree.LeftButtonOnly Property |
Defines whether the tree control responds only to the left mouse button.
Syntax
VB.NET |
Boolean = object.LeftButtonOnly As Boolean |
||
VB |
Boolean = object.LeftButtonOnly As Boolean |
||
C#.NET |
bool Boolean = object.LeftButtonOnly; |
||
VC++ |
VARIANT_BOOL Boolean = object->LeftButtonOnly;
|
||
C |
HRESULT object->get_LeftButtonOnly(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.LeftButtonOnly : WordBool; |
||
VB.NET |
object.LeftButtonOnly = Boolean As Boolean |
||
VB |
object.LeftButtonOnly = Boolean As Boolean |
||
C#.NET |
bool object.LeftButtonOnly = Boolean; |
||
VC++ |
VARIANT_BOOL object->LeftButtonOnly = Boolean;
|
||
C |
HRESULT object->put_LeftButtonOnly(VARIANT_BOOL Boolean); |
||
Delphi |
object.LeftButtonOnly := Boolean : WordBool; |
object
A SftTree object.
Boolean
Defines whether the tree control responds only to the left mouse button.
Boolean |
Description |
True |
Left mouse button clicks are handled by the tree control. MouseDown, MouseUp, Click, ItemClick, ItemClickAgain and ItemDblClick events are only generated for the left mouse button. |
False |
Left mouse button clicks are not handled by the tree control. MouseDown, MouseUp, Click, ItemClick, ItemClickAgain and ItemDblClick events are generated for all mouse buttons. |
Comments
The LeftButtonOnly property defines whether the tree control responds only to the left mouse button.
The LeftItemClickOnly property can be used to ignore the right and middle mouse button, but still allows MouseDown and MouseUp events for these buttons.
See Also SftTree Object | Object Hierarchy