TCustomTreeView.GetSelectedIndex procedure
Gets the index for the image used for a selected tree node on the control.
Declaration
procedure GetSelectedIndex(Node: TTreeNode); virtualArguments
Node | Tree node examine in the method (and possibly updated in the event handler). |
Description
Allows the image index for a selected node to be updated before the node is drawn. Signals the OnGetSelectedIndex event handler (when assigned) where the image index can be determined and stored in the specified tree node.
Called from the DoPaintNode method for any a selected node in the tree view. Use the OnGetImageIndex event handler to get the image index for a node that is not selected.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
