Defines whether the tree control responds only to the left mouse button.
Get
| C# | bool Boolean = object.LeftButtonOnly; |
| VB.NET | Boolean = object.LeftButtonOnly As Boolean |
| C++ | VARIANT_BOOL Boolean = object->LeftButtonOnly; VARIANT_BOOL Boolean = object->GetLeftButtonOnly(); |
| C | HRESULT object->get_LeftButtonOnly(VARIANT_BOOL* Boolean); |
| VB | Boolean = object.LeftButtonOnly As Boolean |
Put
| C# | bool object.LeftButtonOnly = Boolean; |
| VB.NET | object.LeftButtonOnly = Boolean As Boolean |
| C++ | VARIANT_BOOL object->LeftButtonOnly = Boolean; void object->PutLeftButtonOnly(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_LeftButtonOnly(VARIANT_BOOL Boolean); |
| VB | object.LeftButtonOnly = Boolean As Boolean |
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. |
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