modal command - and subsequent dialog placement.

Phil Jimmieson P.Jimmieson at
Tue Aug 6 03:52:00 CDT 2002

>From: Klaus Major <k_major at>
>HI Phil,
>>  Hi folks,
>>  I'm developing a system which needs to pop up the equivalent of a modal
>>  dialog box that contains a QuickTime movie - in the form of a guide who
>  > tells you what to do next.


>  Using modal seems like the
>  > ideal solution, except it puts the window in the centre of the screen,
>>  when I want it top-left (otherwise the guide gets in the way of what
>>  she's describing). I can move the window myself, but only once it's up,
>>  and even setting lockscreen to true doesn't stop it appearing in the
>  > centre, before it repositions itself.

>put this into the script of your "modal"-stack(s):
>on preopenstack
>    set the topleft of me to 0,24
>## will put this stack on the left side of the screen
>## and 24 pixel from the top of the screen BEFORE it is opened
>## You can take other values, of course, if needed
>end preopenstack
>that's all..
>works here, should work for you, too :-)

Hi Klaus,
thanks very much. I just tried it and it works like a charm. Now to 
sort out those other modal dialogs.
Phil Jimmieson  phil at  (UK) 0151 794 3689  (Mobile) 07976 983164
Computer Science Dept., Liverpool University, Chadwick Building, Peach Street
Liverpool L69 7ZF    
   I used to sit on a special medical board... ...but now I use this ointment.

More information about the use-livecode mailing list