2010/6/19 Fabien Bodard <gambas...@gmail.com>: > the doc is not up to date > > > Le 19 juin 2010 20:49, Benoît Minisini <gam...@users.sourceforge.net> a écrit > : >>> draw.begin(MyForm) >>> >>> draw.text("mytext",x,y) >>> >>> >>> draw.end >>> >> >> This works only in Gambas 2. You can't draw directly on a control anymore in >> Gambas 3, except during the Draw event of a DrawingArea. >>
So as a workaround you put a drawing area as children of the form and then put all the control inside it. >> Regards, >> >> -- >> Benoît Minisini >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user