Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

LeftButtonOnly Property, SftTree Object

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

Syntax

Get

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

Put

VB.NETobject.LeftButtonOnly = Boolean As Boolean
VBobject.LeftButtonOnly = Boolean As Boolean
C#.NETbool object.LeftButtonOnly = Boolean;
VC++VARIANT_BOOL object->LeftButtonOnly = Boolean;
void object->PutLeftButtonOnly(VARIANT_BOOL Boolean);
CHRESULT object->put_LeftButtonOnly(VARIANT_BOOL 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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.