RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBComboBox.Text Property

Specifies the value in the edit portion of the combo box.

Pascal
property Text: TCaption;
C++
__property TCaption Text;

Use Text to supply read a field value from the combo box or assign a value to the field that the combo box represents. If the combo box has the style csDropDownList, then the value of Text is the same as the item in the drop-down list identified by the ItemIndex property. For other styles of combo boxes, the value of Text can be a value that is not included in the drop-down list. 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!