Printing 2 pages

Hello,

I come again to see knowledge from the VB.Net oracles. I have written an app that has a tab control with 2 tabs. on tab 1 there is a panel which the user draws on and on tab 2 has a textbox for notes. Now I can get the panel to print and it looks great. now I want to print the panel on one page and the textbox on another.

I have tried using the hasmorepages, but it will redraw the panel with the text from the textbox over it. Any suggestion

Thanks Matt



Answer this question

Printing 2 pages

  • norax

    thanks richard. that works. I am so use to using crystal or sql report services and this is the first timeI have used the printdocument control. thank you it worked perfectly.

    Matt


  • Mo_Fya

    In your page print event:

    If page number is one
    Print drawing
    Has More Pages = true
    else
    ' page 2
    Print Textbox text
    Has More Pages = false
    End if


  • Printing 2 pages