Re: Centering a Window

new topic     » goto parent     » topic index » view thread      » older message » newer message

Now, that's cool!  You learn something new every day.  (Now if I would 
just do something usefull with it)

Derek Parnell wrote:

>
>As long as the width and length are even numbers you can do this ...
>
>constant Window_Install = createEx( Window, "Forms On-A-Disk AutoInstall",
>0,
>          {1,-wid}/2, {1,-hgt}/2, wid, hgt, 0, 0 )
>
>If either are odd numbers you can do this ...
>
>constant Window_Install = createEx( Window, "Forms On-A-Disk AutoInstall",
>0,
>          {0.5,floor(-wid/2)}, {0.5,floor(-hgt/2)}, wid, hgt, 0, 0 )
>
>----------------
>cheers,
>Derek Parnell
>----- Original Message -----
>From: "C. K. Lester" <cklester at yahoo.com>
>To: "EUforum" <EUforum at topica.com>
>Sent: Wednesday, December 11, 2002 6:29 AM
>Subject: Centering a Window
>
>
>>How would I center this on the user's screen?
>>
>>constant Window_Install = createEx( Window, "Forms On-A-Disk AutoInstall",
>>0, Default, Default, 450, 250, 0, 0 )
>>
>>
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu