Lock screen & layering of stacks?

BNig bernd.niggemann at uni-wh.de
Thu Jul 24 06:18:42 EDT 2014


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.




More information about the use-livecode mailing list