[Gambas-user] Gambas3:draw.begin(printer)

Benoît Minisini gambas at ...1...
Tue Jun 1 19:46:44 CEST 2010


> Thanks Fabien for your reply. After much struggle I still cannot get a
> result and include the following for the amusement of all. :)
> 
> prnter is not aware of events begin and draw. Rsult is T and thus a
> failure. The program does spit an empty sheet from the printer. If someone
> could correct the code (maybe even start again?) I would be grateful
> 
> rgds
> 

Printer instances are Gambas objects, and as any other Gambas objects, you 
must provide an event name, otherwise you cannot catch their events.

See the documentation on NEW in the wiki for the details.

Regards,

-- 
Benoît Minisini




More information about the User mailing list