Charles, your script works, without lock screen, until newest LC all the same as it should (but sadly flickering).
The second,I added some lines, > on mouseUp > lock screen > -- lock messages > go stack "Second" > go stack "First" > -- unlock messages > unlock screen > put the openstacks > end mouseUp works as follows. Lock messages (Bernd's method), locks especially all "focus" messages and diminishes thus flickering. But with or without lock messages the result is: [1] LC 6.6.2: Stack "second" stays with active titlebar in front. But "First-second is the order reported by the openstacks. [2] LC 6.7 (dp6) and LC 7.0 (dp7): Stack "second" stays with active titlebar in back. But "First", "Second" is the order reported by the openstacks. Call this a bug? (You could, as a workaround, as I often do, forcing "First" to become active by giving a focusable control on it the focus, before unlocking screen.) _______________________________________________ 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