guides:programming:programmers_reference_manual:visible_property_gui

VISIBLE property (GUI)

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:

ValueDescription
0The control is hidden.
1The control is visible.
DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoNoNo

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

  • guides/programming/programmers_reference_manual/visible_property_gui.txt
  • Last modified: 2023/10/25 10:50
  • by 127.0.0.1