[Gambas-user] Center Form

M0E Lnx m0e.lnx at ...626...
Fri Apr 11 16:25:35 CEST 2008


on the form's Open() event add this

ME.CENTER


On Fri, Apr 11, 2008 at 9:17 AM,  <rwatts32 at ...401...> wrote:
> I was wondering if anyone knows how to center a form in Gambas. I see how to move the form according to its x and y position, but what I would like is for a form to always show up in the center of the screen in all different resolutions.  Any help is appreciated. Thanks.
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  Gambas-user mailing list
>  Gambas-user at lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list