modal command - and subsequent dialog placement.
P.Jimmieson at csc.liv.ac.uk
Tue Aug 6 03:52:00 EDT 2002
>From: Klaus Major <k_major at os.surf2000.de>
>> 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):
> 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
>works here, should work for you, too :-)
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 csc.liv.ac.uk (UK) 0151 794 3689 (Mobile) 07976 983164
Computer Science Dept., Liverpool University, Chadwick Building, Peach Street
Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/
I used to sit on a special medical board... ...but now I use this ointment.
More information about the Use-livecode