Click or drag to resize

ListBox.TextValue Property (Typed)

X#
A string representing the display value (first array's element) for the currently selected item.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL PROPERTY TextValue AS STRING GET SET 
Request Example View Source

Property Value

Type: String
A string representing the display value (first array's element) for the currently selected item.
Remarks
A string representing the display value (first array's element) for the currently selected item, formatted according to the picture clause of the field specification attached to the list box (or combo box). For example the ListBox:TextValue can be "Jones", "01/15/95", or "8". The ListBox:TextValue assign also changes ListBox:CurrentItem, ListBox:CurrentItemNo, ListBox:Modified, ListBox:Value, and ListBox:ValueChanged. If the assign does not match one of the display items, then ListBox:TextValue and ListBox:Value are set to the text that could not be matched, and ListBox:CurrentItemNo is set to 0. If the control is bound to a field in a server and the field data value does not match one of the array's second elements, ListBox:TextValue and ListBox:Value contain the field's data value.
See Also