[prev in list] [next in list] [prev in thread] [next in thread]
List: gambas-user
Subject: Re: [Gambas-user] Gambas3:draw.begin(printer)
From: Fabien Bodard <gambas.fr () gmail ! com>
Date: 2010-05-31 16:51:38
Message-ID: AANLkTilDTEIraOzAgdKrt_5Ci44xm8DWVsrpu3KgRsC9 () mail ! gmail ! com
[Download RAW message or body]
2010/5/31 charlesg <charles@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic