[Gambas-user] Printing a character in a Form

Fabien Bodard gambas.fr at ...626...
Sat Jun 19 23:32:00 CEST 2010


2010/6/19 Fabien Bodard <gambas.fr at ...626...>:
> the doc is not up to date
>
>
> Le 19 juin 2010 20:49, Benoît Minisini <gambas at ...1...> 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 at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>




More information about the User mailing list