Lock Screen disables Lock Messages (???)

Brian Yennie briany at qldlearning.com
Tue Jul 27 16:00:39 EDT 2004


This is just a guess, but perhaps unlocking the screen sends a 
resizeStack message? What happens if you change your resizeStack 
handler to "answer the ticks" and comment out the lock/unlock messages 
code? Do you get two resizeStack messages?

Does look a little odd from what you describe...

> Whew, this one took me two days to track down. I'd appreciate it if 
> someone can confirm this.
>
> Create a stack with one button. In the button put this script:
>
> on mouseup
>   lock screen
>   growit
>   unlock screen
> end mouseup
>
> on growit
>   lock messages
>   -- This causes the resizeStack handler to trigger.
>   put the width of this stack into sw
>   put the height of this stack into sh
>   set the width of this stack to sw+1
>   set the height of this stack to sw+1
>   unlock messages
> end growit
>
> In the stack script put this script:
>
> on resizestack
>   put the ticks
> end resizestack
>
> Unless I'm mistaken, clicking the button should never cause the ticks 
> to be sent to the message box. If you comment out Lock Screen, it 
> works as it should. However, with the Lock Screen command executing, 
> the ticks are then output, indicating that the lock message command is 
> ignored.
>
> I'd like to bugzilla this but want to get a confirmation and make sure 
> I'm not missing something obvious here.
>
> Rev. 2.2.1/OS X 10.3.4
>
>
> Regards,
>
> Howard Bornstein
> -----------------------
> D E S I G N   E Q
> www.designeq.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>



More information about the use-livecode mailing list