VISIBLE property (GUI)
Description
Specifies if a control is visible or not.
Property Value
The VISIBLE property is an integer value that specifies how the control is displayed. For a standard control it can be one of the following values:
Value | Description |
---|---|
0 | The control is hidden. |
1 | The control is visible. |
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
Get/Set | Get/Set | No | No | No |
Remarks
The VISIBLE property is implemented internally using the ShowWindow() Windows API function and the property value actually corresponds to the function's nCmdShow parameter values. For most controls only the SW_SHOW (1) and SW_HIDE(0) values apply, while other typoes such as WINDOW objects support more.
Constants for these values are defined in the MSWIN_SHOWWINDOW_EQUATES insert record.
Example
$Insert MsWin_ShowWindow_Equates // Example - Hiding a control Call Set_Property_Only( ctrlEntID, "VISIBLE", SW_HIDE$ )
See Also
N/A