RAD Studio VCL Reference
|
Obtain selection index.
procedure GetSelectedIndex(Node: TTreeNode); virtual;
virtual __fastcall GetSelectedIndex(TTreeNode Node);
Call GetSelectedIndex to set the image index of a tree node when the tree node is selected. GetSelectedIndex invokes the handler for the OnGetSelectedIndex event, if one is assigned.
Descendants can override GetSelectedIndex to implement a class-specific method of setting the selected tree node's image index.
Node is the tree node in which the image index is set.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|