Text Property
Object List Next Object
Defined By: ListBox
Description:
Determines the selected text in a ListBox, ComboBox, or FileListBox. A string
copy of the selected list item is returned for FileListBoxes and ComboBoxes
with a Style value of 2 - DropDown List. For ComboBoxes with a Style value of 0 -
DropDown Combo or 1 - SimpleCombo, it determines the text held in the text box
area.
Details:
Use the Text property to determine the currently selected item in a list or
the string that is displayed in the text box area of the control. The default
Text property for ComboBox is the control's Name property, and for the ListBox and
FileListBox it's an empty string (""). You can also access the value of this
property in code with the Value property.
Data Type: String