2010/5/31 charlesg <char...@pearceshardware.co.uk>: > > Hi > > Converting Gambas2 to Gambas3 using QT. > > draw.begin(printer) now says that printer is 'not a drawable object' > printer.name reports correctly. yes it's true as printer do not use, draw any now, but paint.
so you have to draw the page in the _draw event of the printer http://gambasdoc.org/help/comp/gb.qt4/printer?v3 http://gambasdoc.org/help/comp/gb.qt4/printer/.draw?v3 > > Grateful any help or pointer to the documentation I can't find! > > rgds > -- > View this message in context: > http://old.nabble.com/Gambas3%3Adraw.begin%28printer%29-tp28732431p28732431.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user