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

andy2 kaoticus60 at ...151...
Sun Mar 23 15:32:23 CET 2008


I have problem to open my software at the centre of my screen. Actually 
i use  the following code:

PUBLIC SUB Main()
  fMain.x = fMain.ScreenX / 2
  fMain.y = fMain.ScreenY + 200
  fMain.Show
END

But this code doesn't work very well. Thanks for your attention.

Andy




More information about the User mailing list