RotatedLabel component
I fixed a WYSIWYG problem printing the RotatedLabel (Friends download).
Change the following line in BuilderControls.pas around line 360 from:
lClientRect := CalcRect(lPrinter.Canvas, Screen.Width, Text);
to:
lClientRect := CalcRect(lPrinter.Canvas,
lPrinter.Canvas.TextWidth(Text), Text);
Longer strings on higher resolution printers weren't printing properly.
Thanks,
Harry Ragland
QS Technologies, Inc.
Change the following line in BuilderControls.pas around line 360 from:
lClientRect := CalcRect(lPrinter.Canvas, Screen.Width, Text);
to:
lClientRect := CalcRect(lPrinter.Canvas,
lPrinter.Canvas.TextWidth(Text), Text);
Longer strings on higher resolution printers weren't printing properly.
Thanks,
Harry Ragland
QS Technologies, Inc.
This discussion has been closed.
Comments
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com