SwitchButton.Value (gb.form)

Property Value As Boolean

Return or set if the switch is on (TRUE) or off (FALSE).