Hi Charles,

this works for me

------------------------
on mouseUp
   lock screen
   lock messages -- needed to avoid flickering
   go stack "Second"
   put the milliseconds into field 1 -- test if it actually was visited
   go stack "First"
   unlock screen -- needed to avoid flickering
end mouseUp
------------------------

don't ask me why...

Kind regards
Bernd


Charles E Buchwald wrote
> I feel like I'm missing something really basic here...
> I have 2 stacks.
> Stack "Second" overlaps stack "First".
> A button in stack "First" has this script:
> 
>       on mouseUp
>          go stack "Second"
>          go stack "First"
>       end mouseUp
> 
> If I press the button, it behaves as I expect. There is a bit of a
> flicker, and stack "First" ends up on top.
> If add a line...
> 
>       on mouseUp
>          lock screen
>          go stack "Second"
>          go stack "First"
>       end mouseUp
> 
> ... then the flicker disappears, as expected, but stack "Second" ends up
> on top.
> Is it supposed to work like this?
> 
> Cheers,
> - Charles





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Lock-screen-layering-of-stacks-tp4681363p4681373.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to