[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the index of the image for the specified node.
Source position: comctrls.pp line 3596
protected procedure TCustomTreeView.GetImageIndex( |
Node: TTreeNode |
); virtual; |
Node |
|
Tree node examined in the method (and possibly updated in the event handler). |
Allows the image index for the tree node to be updated before the node is drawn. Signals the OnGetImageIndex 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 unselected nodes in the tree view. Use the OnGetSelectedIndex event handler to get the image index for a selected node.
Version 3.2 | Generated 2024-02-25 | Home |