.Visible Dotfield
- Last UpdatedJul 25, 2024
- 1 minute read
Determines whether the windows control is visible in the window.
Category
windows control
Usage
[ErrorNumber=]GetPropertyD("ControlName.Visible", Tagname);
[ErrorNumber=]SetPropertyD("ControlName.Visible", Number);
Parameters
ControlName
Name of the windows control. For example, ListBox_1.
Tagname
A tagname (of the same type to be returned) that holds the property value when the function is processed.
Number
A discrete value or a discrete tagname that holds the value to be written when the function is processed. For a discrete value:
0 = Control is invisible.
1 = Control is visible.
Remarks
This property is read/write in both development and run time.
Data Type
Discrete (read/write)
Valid Values
Applies To
Text boxes, list boxes, combo boxes, checkboxes and radio buttons.
Example(s)
The following statement hides the text box named "TextBox_1".
SetPropertyD("TextBox_1.Visible",0);
See Also
GetPropertyD(), SetPropertyD()