[reportlab-users] FW: trouble with combo

Tim Roberts timr at probo.com
Tue May 20 13:00:14 EDT 2008


giulia cherubini wrote:

>

> ------------------------------------------------------------------------

> hello,

> i have to print with reportlab values that user selects from a

> drop down combo.

> i tried but ... no comment

> wich value have i put in drawstring? is it the right way?

> the form is not related with any table so i cannot make a 'select'

> query

> thanx

> giulia

>

> SORRY FOR MY SECOND POST BUT I FORGOT TO ATTACH CODE

>


If you want to print the value in combo box self.tc3, then you'd say
something like this:
can.drawString( 10, 600, self.tc3.GetValue() )

Reportlab doesn't care where the strings came from. They're just strings.

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list