API:Vcl.ComCtrls.TTreeView.OnGetSelectedIndex
Delphi
property OnGetSelectedIndex: TTVExpandedEvent read FOnGetSelectedIndex write FOnGetSelectedIndex;
C++
__property OnGetSelectedIndex;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTreeView |
Description
Occurs when the tree view looks up the SelectedIndex of a node.
Vcl.ComCtrls.TTreeView.OnGetSelectedIndex inherits from Vcl.ComCtrls.TCustomTreeView.OnGetSelectedIndex. All content below this line refers to Vcl.ComCtrls.TCustomTreeView.OnGetSelectedIndex.
Occurs when the tree view looks up the SelectedIndex of a node.
Write an OnGetSelectedIndex event handler to change the selected image index of a node before it is drawn.
OnGetSelectedIndex is an event handler of type Vcl.ComCtrls.TTVExpandedEvent.
See Also
Code Examples