RectControl.Visible

From Xojo Documentation

Property (As Boolean )
aRectControl.Visible = newBooleanValue
or
BooleanValue = aRectControl.Visible

Supported for all project types and targets.

Determines whether the control is visible when its owning window is opened. The default is True: the control is visible.

Example

The following code in the DisclosureTriangle Action event handler displays or hides a ListBox on the window:

ListBox1.Value = Me.Visible