Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing form and contents of a LISTVIEW

Status
Not open for further replies.

Dan688

Programmer
Dec 29, 2003
128
GB
Hlep please Im using the me.printform method to print my form but can print items in my Listview! It is in Report layout with Checked boxes! Have tried to make sense of Thread222-256897
But cannot! Is there some one that can help?
My listview is called: lvModules

Many Thanks!
 
You could ty pasting the listview inside a picturebox, and then print the picturebox to the printer.

BB
 
But there are many different items on this form! Its half of an A4 piece of paper! - I really need to print out all visible features!
Many Thanks any way
 
you could use the picturebox as a frame, and then pint the whole form that way.

BB
 
Ive tested your approach BB but problem is i am using a scroll bar and cannot display the full listview!
I only need to see the top half of the listview when I print! So printing a form that would look like a print screen function!
 
Any More Ideas?
Hang on is there a way to disable the scroll bar before printing and then reenable it after? would this work?
 
I routinely print out multi-column ListViews using VB DataReports, the data for both coming from Access Recordsets. Let me know if you'd like some sample code.

Frank
nfrank@cox.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top