HeaderPane
Main
Hide
Share Link
Print

LeftButtonOnly Property, SftTree Object

Defines whether the tree control responds only to the left mouse button.

Syntax

Get

C#bool Boolean = object.LeftButtonOnly;
VB.NETBoolean = object.LeftButtonOnly As Boolean
C++VARIANT_BOOL Boolean = object->LeftButtonOnly;
VARIANT_BOOL Boolean = object->GetLeftButtonOnly();
CHRESULT object->get_LeftButtonOnly(VARIANT_BOOL* Boolean);
VBBoolean = object.LeftButtonOnly As Boolean

Put

C#bool object.LeftButtonOnly = Boolean;
VB.NETobject.LeftButtonOnly = Boolean As Boolean
C++VARIANT_BOOL object->LeftButtonOnly = Boolean;
void object->PutLeftButtonOnly(VARIANT_BOOL Boolean);
CHRESULT object->put_LeftButtonOnly(VARIANT_BOOL Boolean);
VBobject.LeftButtonOnly = Boolean As Boolean

object

A SftTree object.

Boolean

Defines whether the tree control responds only to the left mouse button.

BooleanDescription
TrueLeft 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.
FalseLeft 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


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.