WebUIControl.Visible

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
or
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
Else
EmailField.Visible = False
End If