isToggle

Typeproperty
Dictionarywidget.powerbutton
LibraryPower button
Syntax
set the isToggle of widget to {true | false}
get the isToggle of widget
Associationscom.livecode.widget.powerbutton
Summary

Specifies whether a button stays highlighted after being pressed.

OSmac, windows, linux, ios, android, web
Platformsdesktop, mobile
Example
set the isToggle of widget "Power button" to true
Description

Use the isToggle property to specifies whether a button stays highlighted after being pressed.