Vcl.ComCtrls.TCustomTreeView.OnGetSelectedIndex
Delphi
property OnGetSelectedIndex: TTVExpandedEvent read FOnGetSelectedIndex write FOnGetSelectedIndex;
C++
__property TTVExpandedEvent OnGetSelectedIndex = {read=FOnGetSelectedIndex, write=FOnGetSelectedIndex};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTreeView |
Description
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