Create a Toggle Button


The technique below is still valid for custom toggle buttons, however from version 1.8 Squirrel now supports a native “Toggle Switch” component.


This video shows how you can quickly create toggle buttons in your Squirrel project with both a standard and a custom design. These can be used to allow your end-users to control what is visible, what is included in calculations, which options they want to have active, and many more.

in How-Tos
Was this article useful?