SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
An already selected item has been clicked.
VB.NET | Private Sub object_ItemClickAgain(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.ItemClickAgain |
VB | Private Sub object_ItemClickAgain(ByVal ItemIndex As Long, ByVal ColIndex As Integer, ByVal Button As Integer) |
C#.NET | void object_ItemClickAgain(object sender, EventArgumentType e); |
VC++ | void OnItemClickAgainobject(long ItemIndex, short ColIndex, short Button); |
C | HRESULT OnItemClickAgainobject(long ItemIndex, short ColIndex, short Button); |
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.
Button | Value | Description |
---|---|---|
constSftTreeLeftButton | 1 | The left mouse button was pressed. |
constSftTreeRightButton 1) | 2 | The right mouse button was pressed. |
constSftTreeMiddleButton 1) | 4 | The middle mouse button was pressed. |
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