I am trying to print a StringGrid control in Delphi 5 without much luck. Using
StringGrid1.PaintTo(Printer.Handle,0,0)
gives me a postage stamp sized printout on the paper. Selecting Fit To Page in a PrintDialog has no effect.
Trying StringGrid1.PaintTo(ABitMap.Handle,0,0)
Printer.Canvas.StretchDraw(ARect, ABitMap)
gives a blank page.
Anyone have a way to make a readable print out?
StringGrid1.PaintTo(Printer.Handle,0,0)
gives me a postage stamp sized printout on the paper. Selecting Fit To Page in a PrintDialog has no effect.
Trying StringGrid1.PaintTo(ABitMap.Handle,0,0)
Printer.Canvas.StretchDraw(ARect, ABitMap)
gives a blank page.
Anyone have a way to make a readable print out?