I just noticed that there is a component called ToggleButton in the
Resource Editor's Components menu, and there is an example of ToggleButton
in the Widgets sample. However, I don't see the difference between a
toggle button and a normal button. It's also not documented anywhere on
the PythonCard website.
I noticed it because I ran across a need for a button whose label might
differ based on the value in a nearby field. For now, I'm just changing
the label property when the user clicks it, but I'm wondering if there's a
special PythonCard native manner of doing this.
Thanks!
|