MobileSwitch.Value
From Xojo Documentation
Property (As Boolean )
The value of the switch. On = True, Off = False.
Sample Code
If the Tax switch is on, then set the tax rate:
The value of the switch. On = True, Off = False.
If the Tax switch is on, then set the tax rate: