Visible Property
Applies To
Button, Label, TextBox, RadioButton, CheckBox, ListBox, ComboBox, PictureBox, GroupBox, VideoBox, LED, ProgressBar, StatusBar, TrackBar, Grid , TabControl, Wizard, TreeView
Description
Gets or sets a value indicating whether the control is displayed at runtime.
Usage
GGet Form.Control.Visible, var
GSet Form.Control.Visible, 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
- Boolean variable that will contain the value of the property.
- value
- Boolean expression for the new value of the property.
Values
True Display the control
False Don't display the control
Default: True
Remarks
If GGet is executed without loading a form by GShow or GShowDialog, the return value will be False.
See Also
Button Control , Label Control , TextBox Control , RadioButton Control , CheckBox Control , ListBox Control , ComboBox Control , PictureBox Control , GroupBox Control , VideoBox Control , LED Control , ProgressBar Control , StatusBar Control , TrackBar Control , Enabled Property , Tab Control, Wizard Control , Tree View Control
Example
GSet frmMain.txtStatus.Visible, True