Page 1 of 1

LC 8.0.2.rc 3 Switch Button - Solved

Posted: Sun Jul 24, 2016 11:43 pm
by DR White
How does one use a Switch Button from the palette of tools of LC 8.0.2.rc 3.

When I test it with the IOS simulator, it just appears as a light colored box.
I do not see it in the dictionary. Of course, I do not know how to tie any code to the switch button either.

Is there some place that tells me how to use this widgets that are part of LC 8.0.2.rc 3?

Thanks,

David

Re: LC 8.0.2.rc 3 Switch Button

Posted: Mon Jul 25, 2016 7:12 pm
by jacque
Be sure you've added the switch button to standalone settings in the Inclusions pane.

For info on how to script it, open the dictionary and in the popdown button that says "Choose API: LiveCode Script" choose the Switch Button from the list.

Re: LC 8.0.2.rc 3 Switch Button - Solved

Posted: Mon Jul 25, 2016 9:48 pm
by DR White
Jacque,

I finally found it.
I also found the info for coding it.
Without your help, I never would have got it to work.

Thanks so VERY much,

David