-
I am writing a program to print out a table (preferably with the gridlines) from a flexgrid. And I don't know how to go about it. I can't find a method inside the grid to do it for me. so it looks like ill have to do it manually.
Have any of you guys ever tried this? the table is a fairly simple one, and i can mail you scanned example.
Any help would be cool!
-
You can use the Picture Property of the MSFlexGrid to Print a Representation of the Entire Grid and its Contents, Including Lines, etc..
Code:
Private Sub Command1_Click()
Printer.PaintPicture MSFlexGrid1.Picture, 0, 0
Printer.EndDoc
End Sub
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Yep, that works, but im getting some weird results when printing, like sometimes the text is massive when the columns are centered, this even happens when i use the width argument in the printer.paintpicture function.
------------------
Wossname,
Email me: [email protected] :)