[Gambas-user] How to open main form in the centre of any screen

Benoit Minisini gambas at ...1...
Sun Mar 23 17:21:44 CET 2008


On dimanche 23 mars 2008, Robert Rowe wrote:
> Try this:
>
> fMain.x = (Desktop.Width -  fMain.Width) / 2
> fMain.y = (Desktop.Height -  fMain.Height) / 2
>
> Robert Rowe
>

Or this: fMain.Center()

-- 
Benoit Minisini




More information about the User mailing list