Visible Property
Applies To
Button, Label, TextBox, RadioButton, CheckBox, ListBox, ComboBox, PictureBox, GroupBox, VideoBox, LED, ProgressBar, StatusBar, TrackBar, Grid , TabControl
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, Label, TextBox, RadioButton, Checkbox, ListBox, ComboBox, PictureBox, GroupBox, VideoBox, LED, ProgressBar, StatusBar, TrackBar, Enabled , TabControl
Example
GSet frmMain.txtStatus.Visible, True