Switch Button

Typewidget
Dictionarywidget.switchbutton
LibrarySwitch Button
Associationscom.livecode.widget.switchbutton
Summary

This widget is a switch button, consisting of two mutually exclusive choices or states.

Description

This widget is a switch button, consisting of two mutually exclusive choices or states.

TypeNameSummarySyntax
messagehiliteChanged

Sent when the switch is changed to either the on or off position

hiliteChanged

propertybackColor

Controls the background color of the switch button

get the backColor of <widget>

set the backColor of <widget> to <pColor>

- - -borderColor

Controls the color of the switch button when it is in the on position

get the borderColor of <widget>

set the borderColor of <widget> to <pColor>

- - -highlight

Whether the switch is on or off

get the highlight of <widget>

set the highlight of <widget> to {true | false}

- - -hiliteColor

Controls the color of the switch button when it is in the on position

get the hiliteColor of <widget>

set the hiliteColor of <widget> to <pColor>

- - -showBorder

Whether the widget has a border or not.

get the showBorder of <widget>

set the showBorder of <widget> to {true|false}

- - -theme

Specifies the theme to use when drawing the switch button.

get the theme of <widget>

set the theme of <widget> to <pWidgetTheme>

widgetSwitch Button

This widget is a switch button, consisting of two mutually exclusive choices or states.

get the theme of <widget>

set the theme of <widget> to <pWidgetTheme>