Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ItemClickAgain Event, SftTree Object

An already selected item has been clicked.

Syntax

VB.NETPrivate Sub object_ItemClickAgain(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.ItemClickAgain
VBPrivate Sub object_ItemClickAgain(ByVal ItemIndex As Long, ByVal ColIndex As Integer, ByVal Button As Integer)
C#.NETvoid object_ItemClickAgain(object sender, EventArgumentType e);
VC++void OnItemClickAgainobject(long ItemIndex, short ColIndex, short Button);
CHRESULT OnItemClickAgainobject(long ItemIndex, short ColIndex, short Button);

object

A SftTree object.

ItemIndex

The zero-based index of the item at the mouse-cursor location when the mouse button was clicked.

ColIndex

The column number of the cell at the mouse-cursor location when the mouse button was clicked.

Button

The button that is pressed during the event (see SftTreeButtonConstants). The button argument is a bit field with bits corresponding to the left button, right button and middle button. These bits correspond to the values shown below. Only one of the bits is set, indicating the button that caused the event.

ButtonValueDescription
constSftTreeLeftButton1The left mouse button was pressed.
constSftTreeRightButton 1)2The right mouse button was pressed.
constSftTreeMiddleButton 1)4The middle mouse button was pressed.

Comments

The ItemClickAgain event occurs when an already selected item has been clicked.

1) Depending on the settings of the LeftButtonOnly or LeftItemClickOnly properties, this event may not be generated for the middle and right mouse buttons.

The ItemClickAgain event is generated when the user clicks on an already selected item. The event is only generated if there is a sufficiently long pause between the first click to select the item and the second click. If the pause is not long enough, the ItemDblClick event is generated instead.

The ItemClickAgain event supplies all the necessary information to the application, so appropriate action can be taken, such as to start cell editing.

See Also SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.