In a QScript module this works
However I need to be able to build the alignment requirement sperately, much simplifiedCode:
page. drawText ( ps. x + fr.col_offset, y, fr.col_width, h, CReportPage.AlignLeft | CReportPage.AlignVCenter, fr.txttoprint );
and this doesn't work.:confused:Code:
fr.valign = CReportPage.AlignVCenter; fr.halign = CReportPage.Alignleft; page. drawText ( ps. x + fr.col_offset, y, fr.col_width, h, fr.valign | fr.halign, fr.txttoprint );
Please can someone advise how I can get it to work.
Many Thanks
Allan
