Switch

Xojo provides a Switch control for mobile and web projects. It's functionally the same as a CheckBox:

Common members

These events and properties are both common amongst the mobile and web versions of the control and are the most commonly used. See the individual controls for more members and details.

Events

Name

Description

ValueChanged

The value (whether the Switch is checked, unchecked) has changed.

Properties

Name

Description

Enabled

Dictates if the Switch is enabled (can be interacted with) or not.

Value

Indicates whether or not the Switch is checked.

See also

MobileSwitch and WebSwitch