Printing with textAlign

Dwayne Rothe drothe at optusnet.com.au
Sat Jan 29 20:12:22 EST 2005


Hi All,
I am having a problem getting a field to print the text aligned center.
I have two radio buttons to control alignment  1.) btn "left"   2.) btn
"center"

I am using the handler below;

on mouseUp
revShowPrintDialog true,true
set printmargins to 36,36,36,36
set printTextFont to Tahoma
if the hilite of btn "left" is TRUE then
set the printTextAlign to left
else set the printTextAlign to center
revPrintField the name of fld "docs"
end mouseUp

printmargins, printTextFont work fine but not printTextAlign, it always
prints aligned left.........hmmm :?(

Any Ideas?
Cheers.......Dwayne



More information about the use-livecode mailing list