|
-
Jan 20th, 2000, 02:26 AM
#1
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!
-
Jan 20th, 2000, 02:43 AM
#2
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]
-
Jan 21st, 2000, 02:07 AM
#3
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] 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|