Name Property

Applies To
Form, Button, Label, TextBox, RadioButton, CheckBox, ListBox, ComboBox, PictureBox, GroupBox, Timer, VideoBox, LED, ProgressBar, TrackBar, StatusBar, Grid , TabControl

Description
Gets the name of a form or control at runtime. Used to set the Name of a form or control at design time.

Usage

GGet Form.[Control].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.
var
String variable that will contain the value of the property.

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

See Also
Form, Button, Label, TextBox, RadioButton, Checkbox, ListBox, ComboBox, PictureBox, GroupBox, Timer, VideoBox, LED, ProgressBar, TrackBar, StatusBar , TabControl

Example

String name$  
GGet frmMain.btnOK.Name, name$