There were a few reports of a bug in the switch object. I think I've managed to reproduce it by renaming and saving the mainstack. A couple of references to long control id's (which include the filename) remained and caused a problem.
In the mean time, put the following code in the script of the switch object to fix it.
on openControl
mobGUISwitchInit the long id of me, "new"
end openControl
Switch control bug
Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Switch control bug
LiveCode Development & Training : http://splash21.com
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: Switch control bug
After more testing, I had to make a further change to get the switch to completely behave. I'm in the middle of updating the plugin, so I'll create a quick update based on the previous release and post on the web site.
LiveCode Development & Training : http://splash21.com