Jump to content

ListView Printing and Copying


PaulSt
 Share

Recommended Posts

I created a report from a sqlite database in an array and imported that array into listview. I tweaked the listview to create a formatted version of the report. Now I want to copy (to Word for example) or print from listview retaning the listview formatting. I can't see a way to do it.

Any insight is greatly appreciated. Thanks in advance. :graduated:

Link to comment
Share on other sites

Thanks for your interest SadBunny.

The LV has been formatted with a fixed font (Courier), some text has been padded, cols have been aligned, etc. so that LV items line up like:

Joe Jones

Assets as of 12/31/09

Desc and Acct Cost MV

----------------------- -------- --------

IBM Account 1234 100 125

Coca Cola Account 345 45 50

In effect this LV is essentially a formatted report.

I would like to place btns on the gui holding the LV that would enable the user to copy to clipboard, and/or print from list view but can't see what functions I should use.

Should I be importing the array derived from sqlite into RichText for the report rather than LV?

Am I taking the wrong approach to create an sqlite report?

Many thanks for your interest and input.

Link to comment
Share on other sites

  • 3 weeks later...

Thanks for your helpful post leos.

I have moved ahead as you suggested and created the html doc. It loads into IE nicely. I also embedded IE in a GUI with good success.

Now I am wondering if anyone has developed a GUI that presents the html report and offers options (i.e. buttons) for printing, copying, etc. using rich text or some other component within the GUI?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...