Re: Centering a Window

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

Oops. Obviously the window caption should have been "Forms On-A-Disk 
AutoInstall" and that ( in the middle shouldn't be there. :-[

1evan at sbcglobal.net wrote:

> ScreenSize = getCtlSize(Screen)
> constant
> ScreenWidth = ScreenSize[1],
> ScreenHeight = ScreenSize[2],
> Window_Install = 
>
> createEx(Window,"Parcheesi",0,ScreenWidth/2-225,(ScreenHeight/2-125,450,250,0,0)
>
>
> C. K. Lester wrote:
>
>>
>> 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 )
>>
>>

-- 
Don't worry about people stealing your ideas. If your ideas are any good, you'll
have to ram them down people's throats.
-- Howard Aiken

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

Search



Quick Links

User menu

Not signed in.

Misc Menu