remove the title bar

Sarah Reichelt sarah.reichelt at
Sun Nov 9 16:59:42 EST 2008

> in fact it may not be a bad idea to make sure it positions
> where you want it on the end-user's desktop just so it doesn't,
> accidently, end up half-off the screen:
> bung this in the script of the first card -
> on preOpenCard
>  put item 3 of the screenRect into WID
>  put item 4 of the screenRect into HITE
>  put (WID / 2) into WID2
>  put (HITE / 2) into HITE2
>  move stack "BLAH BLAH" to WID2, HITE2
> end preOpenCard
> where "BLAH BLAH" is the name of your stack
> this will position the stack in the centre of the end-user's screen.

Or even easier:

on preOpenCard
   set the loc of this stack to the screenLoc
end preOpenCard


More information about the use-livecode mailing list