I just want to turn off button hiliting...

Brian Yennie briany at qldlearning.com
Sat Jun 5 02:21:16 EDT 2004


> I've got a button that creates another object (say another button). In 
> the button's script I first lock the screen. Then create the new 
> button, then do some stuff, and later rename the button. It appears 
> that when creating an object via script, this nullifies the lock 
> screen command, because the button first appears with its original 
> name and then you see it renamed (these are just trivial examples--the 
> main point is that the lock screen command doesn't seem to hold if 
> you're creating objects). Is this a known phenomena? Also only in OSX? 
> Any workarounds?

This is just a stab in the dark, but could this be IDE specific? I'm 
thinking if something (such as the IDE) is intercepting messages for 
new controls, it might be unlocking the screen? What happens if you 
lock the screen _and_ lock messages?

- Brian



More information about the use-livecode mailing list