Anyone got an idea how to print all the contents of a listview?
Cheers,
Printable View
Anyone got an idea how to print all the contents of a listview?
Cheers,
ListView = ListBox right? If this is a totally different control then nevermind me.
All you gotta do is populate a (rich or multiline) text box with the listbox's items, then print the text box. Easy as that. I've even whipped up an example project for you. All you have to do is fix this one error that keeps coming up. I don't know what it means :confused:
Hope this helps,
Furry
Oops! I forgot the attachment. :D Here it is:
Actually a listview control and listbox are not the same control. You'd still have to just for each through the ListItems and form them into strings the way you want and then send it to a PrintStream.
So is what I posted applicable or not?