New SwitchButton (gb.form)

Dim hSwitchButton As SwitchButton
hSwitchButton = New SwitchButton ( Parent As Container ) [ As "EventName" ]

Create a new SwitchButton control.