remove the title bar
Larry Watts
lgwatts at adelphia.net
Sun Nov 9 23:53:06 EST 2008
Perfect!
----- Original Message -----
From: "Sarah Reichelt" <sarah.reichelt at gmail.com>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Sunday, November 09, 2008 1:59 PM
Subject: Re: remove the title bar
>> 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
>
> Cheers,
> Sarah
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list