treeview Text property
Return to Introduction  Previous page  Next page
Applies to
acTreeView component as subproperty of BoldItem structure.  

Declaration
property Text: String// read-only!!  

Description
The Text is the read-only property of BoldItem structure, used to determinate the text of marked out "bold" node.  
 
To get the pointer to the "bold" node itself and get access to all its properties — use BoldNode property.  
 
To get the absolute index or image index of the "bold" node — use ItemIndex property.  
 
iiwarning The Text property can return NIL (NULL) in case if there is no marked "bold" node (ItemIndex is -1).  

See also
BoldNode and ItemIndex properties;  
OnBoldItemBeforeSwitch and OnBoldItemSwitched events.