In a QScript module this works
page. drawText ( ps. x + fr.col_offset, y, fr.col_width, h, CReportPage.AlignLeft | CReportPage.AlignVCenter, fr.txttoprint );
page. drawText ( ps. x + fr.col_offset, y, fr.col_width, h, CReportPage.AlignLeft | CReportPage.AlignVCenter, fr.txttoprint );
To copy to clipboard, switch view to plain text mode
However I need to be able to build the alignment requirement sperately, much simplified
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 );
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 );
To copy to clipboard, switch view to plain text mode
and this doesn't work.
Please can someone advise how I can get it to work.
Many Thanks
Allan
Bookmarks