[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the index for the image used for a selected tree node on the control.
Source position: comctrls.pp line 3597
protected procedure TCustomTreeView.GetSelectedIndex( |
Node: TTreeNode |
); virtual; |
Node |
|
Tree node examine in the method (and possibly updated in the event handler). |
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.
Version 3.2 | Generated 2024-02-25 | Home |