From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aWebUIControl.Visible = newBooleanValue
BooleanValue = aWebUIControl.Visible

New in 2020r1

Supported for all project types and targets.

If True, the control is drawn. If False, it's not.

Sample Code

Hide a control based on a checkbox setting:

If ShowEmailCheckbox.Value Then
EmailField.Visible = True
EmailField.Visible = False
End If