MobileSwitch.ValueChanged
From Xojo Documentation
Event
Called when the value property is changed either by code or by the user.
Sample Code
Disable a MobileTextField when the switch is off and enable it when on:
Called when the value property is changed either by code or by the user.
Disable a MobileTextField when the switch is off and enable it when on: