|
|
|
SftTree.SelectionChange Event |
The selection changes.
Syntax
VB.NET |
Private Sub object_SelectionChange(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.SelectionChange |
||
VB |
Private Sub object_SelectionChange() |
||
C#.NET |
void object_SelectionChange(object sender, EventArgumentType e); |
||
VC++ |
void OnSelectionChangeobject(); |
||
C |
HRESULT OnSelectionChangeobject(); |
||
Delphi |
procedure objectSelectionChange(Sender: TObject); |
object
A SftTree object.
Comments
The SelectionChange event occurs when the selection changes.
The SelectionChange event is not limited to mouse events as the selection can change through keyboard input also. To determine which mouse button was pressed and/or in which area of the tree control the mouse button was pressed, use the MouseDown or ItemClick events.
The Items.SelectionArea property can be used to control the areas that cause a selection change.
See Also SftTree Object | Object Hierarchy