PrintPreviewDialog trouble

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jacopomeucci@libero.it

    PrintPreviewDialog trouble

    hi all.

    I've a problem with PrintPreviewDia log in c#.

    I've done a form with a ListViewControl and i tried to print the data
    contents in this listview.

    I've read the ListViewControl via a WHILE cicle and i've done document
    then i've send it to the PrintPreviewDia log...end it seems to be
    perfect but when i click the printer button on the PrintPreviewDia log
    the printed document isn't what I see is not what i get.

    So i've changed my WHILE cicle with a FOR cicle and the results is
    perfect in preview and in print.

    Someone may help me....thanks...

    SORRY FOR MY POOR ENGLISH.

  • rossum

    #2
    Re: PrintPreviewDia log trouble

    On 14 Dec 2005 03:17:04 -0800, jacopomeucci@li bero.it wrote:
    [color=blue]
    >hi all.
    >
    >I've a problem with PrintPreviewDia log in c#.
    >
    >I've done a form with a ListViewControl and i tried to print the data
    >contents in this listview.
    >
    >I've read the ListViewControl via a WHILE cicle and i've done document
    >then i've send it to the PrintPreviewDia log...end it seems to be
    >perfect but when i click the printer button on the PrintPreviewDia log
    >the printed document isn't what I see is not what i get.
    >
    >So i've changed my WHILE cicle with a FOR cicle and the results is
    >perfect in preview and in print.
    >
    >Someone may help me....thanks...
    >
    >SORRY FOR MY POOR ENGLISH.[/color]

    It is difficult to help you without seeing the code of your FOR-loop
    and your WHILE-loop. Please post copies of them here.

    Your English is a lot better than my Italian.

    rossum

    --

    The ultimate truth is that there is no ultimate truth

    Comment

    Working...