DesktopUIControl.Visible
From Xojo Documentation
Property (As Boolean )
aDesktopUIControl.Visible = newBooleanValue
or
BooleanValue = aDesktopUIControl.Visible
New in 2021r3
Supported for all project types and targets.
or
BooleanValue = aDesktopUIControl.Visible
New in 2021r3
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 Checkbox ValueChanged event handler displays or hides a ListBox on the window:
ListBox1.Value = Me.Visible