Text Property
Applies To
Form, Button, Label, TextBox, RadioButton, CheckBox, ComboBox, GroupBox, LED, StatusBar,TreeView
Description
Gets or sets the text associated with the control.
Usage
GGet Form.[Control].Text, var
GGet Form.[Control].Text(name), var
GSet Form.[Control].Text, value
GSet Form.[Control].Text(name), var
- Form
- Name of a form or string variable containing a form name.
- Control
- Name of a control or string variable containing a control name.
- name
- Specify the string that indicates the item (node) of the tree view which sets the text.
- 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 Control , Label Control , TextBox Control , RadioButton Control , CheckBox Control , ComboBox Control , GroupBox Control , LED Control , StatusBar Control , TextAlign Property , Tree View Control
Example
GSet frmMain.lblName.Text, "Name: "