treecombobox SelectedNode property
Return to Introduction  Previous page  Next page
Applies to
acTreeComboBox component.  

property SelectedNode: TTreeNode; // read-only!!  

The SelectedNode is the read-only property which returns the pointer to TTreeNode object, which currently selected in the TreeView control embedded to drop-down window.  
tip Alternatively you can determinate and specify the selected tree node by its absolute index using ItemIndex property.  

iiwarning The SelectedNode can be NIL if none selected in the drop-down list, or user specified custom text which does not match any node in the list (if ShowEditor is True).  

See also
ItemIndex, ShowEditor properties;  
OnCanSelectNode event.