Text Property

Applies To
Form, Button, Label, TextBox, RadioButton, CheckBox, ComboBox, GroupBox, LED, StatusBar

Description
Gets or sets the text associated with the control.

Usage

GGet Form.[Control].Text, var  
GSet  Form.[Control].Text, value  
Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name.
var
String variable that will contain the value of the property
value
String expression for the new value of the property.

Values
A string containing the text of the form or control.

See Also
Form, Button, Label, TextBox, RadioButton, Checkbox, ComboBox, GroupBox, LED, StatusBar, TextAlign

Example

GSet frmMain.lblName.Text, "Name: "