Control - Visible Property

Show or hide the control

Member of Control (PRIM_CTRL)

Data Type - Boolean


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.


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

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020