Vcl.ComCtrls.TCustomTreeView.GetImageIndex
Delphi
procedure GetImageIndex(Node: TTreeNode); virtual;
C++
virtual void __fastcall GetImageIndex(TTreeNode* Node);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTreeView |
Description
Obtain image index.
Call GetImageIndex to set the image index of a tree node. GetImageIndex as implemented in TCustomTreeView does nothing except invoke the handler for the OnGetImageIndex event, if one is assigned.
Descendants can override GetImageIndex to provide a class-specific implementation for setting the tree node's image index.
Node is the tree node in which the image index is set.