Name Property
Applies To
Form, Button, Label, TextBox, RadioButton, CheckBox, ListBox, ComboBox, PictureBox, GroupBox, Timer, VideoBox, LED, ProgressBar, TrackBar, StatusBar, Grid , TabControl, Wizard, TreeView
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. You cannot name as follows:
- A number cannot be used at the beginning of the form name or control name.
- You cannot use the same form name as the project name you are editing.
See Also
Form , Button Control , Label Control , TextBox Control , RadioButton Control , CheckBox Control , ListBox Control , ComboBox Control , PictureBox Control , GroupBox Control , Timer Control , VideoBox Control , LED Control , ProgressBar Control , TrackBar Control , StatusBar Control , Tab Control, Wizard Control , Tree View Control
Example
String name$
GGet frmMain.btnOK.Name, name$