[Gambas-user] Center Form

Stefano Palmeri rospolosco at ...152...
Fri Apr 11 16:32:42 CEST 2008


Alle 16:17, venerdì 11 aprile 2008, rwatts32 at ...401... ha scritto:
> 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.
>

ME.Center()

or

YourFormName.Center()

Stefano

> -------------------------------------------------------------------------
> 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/java
>one _______________________________________________
> 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