Text Property

When the CBStyle property is set to 0 [DropdownCombo] returns or sets the text contained in the edit control. 

When the CBStyle property is set to 1 [DropdownList] returns the text of the currently selected item in the right list.  In this case the property is read only at design time and run time.


Syntax

object.Text [= string ]

The syntax of the Text property has these parts:

PartDescription
objectA DCombo control.
string  A string expression specifying the text.

Remarks

At design time only the default for the Text property is the control's Name property.  The RLList and LLList properties will always return the text of the currently selected item.

Data Type

String