Control.TextValue Property | |
A string representing the value held in the control.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY TextValue AS USUAL GET SET
public virtual Usual TextValue { get; set; }
Request Example
View SourceProperty Value
Type:
UsualA string representing the value held in the control.
Remarks
For example, in a standard edit control, the value can be "Jones" or "$14,683.00". In a check box, the value can be "TRUE" or "FALSE". For push buttons, Control:TextValue is set to NULL_STRING. In a list box or combo box, Control:TextValue holds the display value text. In a radio button group, Control:TextValue holds the caption text of the radio button that is currently selected.
Note that the string is formatted according to the picture clause held in the field specification of the control; in turn, controls linked to a data server inherit the field specification - and hence picture clause - from the field of the server.
Examples
The following examples demonstrate the use of the Control:TextValue property:
1
2?ValType(oDCAmountControl:TextValue)
3
4cAmount := oDCAmountControl:TextValue
5
6oDCAmountControl:TextValue := "5"
See Also