You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Control - Visible Property
Show or hide the control
Member of Control (PRIM_CTRL)
Data Type - Boolean

Details


Visible will return True if the control is visible.
Controls that are Visible(False) occupy no space on the screen and cannot be accessed in any way by the user. However, the instance of the control still exists and it can be accessed programmatically.
Layout managers will update the bounds of other controls when a control is set to visible false.

Example


In this example, an editor is hidden when the close button is clicked.
Evtroutine Handling(#Close.Click)
#Editor.Visible := False
Endroutine

See also

All Component Classes
Technical Reference

  • No labels