Re: Error in module STCPrinting.

"Werner F. Bruhin" <[email protected]>
Newsgroups gmane.comp.ide.boa-constructor.user
Message-ID <[email protected]>
Hi Frans,

F.A. Pinkse wrote:
> Hi Ryaan.
> 
> When I use Print Setup button in the Dialog Print Source [ hit the 
> little tool bar Printer icon ] I get the following error message:
> 
>   Traceback (most recent call last): 
> 
>     File "C:\Python25\Lib\site-packages\boa\Views\STCPrinting.py", line 
> 105, in OnPrintSetup
>       pdd.SetSetupDialog(True) 
Just commenting the above line seems to make it work.  I'll ask on the 
wxPython list about it.

BTW, I tried this with 2.8.3.0 Ansi.

Werner
> 
>       AttributeError: 'PrintDialogData' object has no attribute 
> 'SetSetupDialog'
> 
> I was actually looking for the place where to set the margins.
> 
> 
> My details:
> # Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit 
> (Intel)]
> # wxPython 2.8.3.0, Boa Constructor 0.5.2
> 
> wxpython is unicode version.
> 
> 
> Best regards,
> 
> 
> Frans.
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.