> 
> i try to make a similar example from this page
> http://gambasdoc.org/help/comp/gb.qt4/draw/line?v3
> 
> in this page it says
> 
> Draw.Begin(ME) where ME is a form.
> 
> i get this error in my project for
> 
> Draw.Begin(drawArea) where drawArea is the name of a DrawingArea object.
> 
> Where is the bug? The name "drawArea" ?
> 

Now, in Gambas 3, you just cannot draw outside of the Draw event handler 
anymore. That's all. Consequently, you cannot draw on a form too, as a form 
has no Draw event handler.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to