Specifies if a control is visible or not.
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. |
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
Get/Set | Get/Set | No | No | No |
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.
$Insert MsWin_ShowWindow_Equates // Example - Hiding a control Call Set_Property_Only( ctrlEntID, "VISIBLE", SW_HIDE$ )
N/A