treecombobox SelectNodeByText method
Previous  Top  Next
Applies to
tcTreeComboBox component.  

Declaration
function SelectNodeByText(const Text: String; IgnoreCase: Boolean = False): TTreeNode;  

Description
The SelectNodeByText method looking for the node in drop-down list, with the same text as specified in Text property. If it successfully found the node with specified text, it selects it.  
 
The IgnoreCase parameter specified whether the search should be case sensitive.  
 
Function returns the pointer to selected node if succeed, or NIL (NULL) otherwise.  

See also
ShowEditor property.