From Here . . .

function OpenWin(url, w, h) { if(!w) w = 400; if(!h) h = 300; window.open(url, "_new", "width=" + w + ",height=" + h + ",menubar=no,toobar=no,scrollbars=yes", true); } function Print() { window.focus(); if(window.print) { window.print(); window.setTimeout('window.close();',5000); } }
Team-Fly    

Special Edition Using Microsoft® Visual Basic® .NET
By Brian Siler, Jeff Spotts
Table of Contents
Chapter 13.  Using Dialog Boxes


In this chapter, you learned how dialog boxes can be used to help the user select files, colors, and fonts in your programs. You also learned how the message box and input box are used to inform the user and to get decisions or single pieces of information. You even saw how to design your own dialog boxes when the built-in ones are insufficient for the task. To learn more about using some of the concepts presented here, take a look at the following chapters:

  • To learn more about designing the forms you use in your applications, see Chapter 10, "Understanding Windows Forms."

  • For an introduction to writing the code that enables your forms to react to your users' actions, see Chapter 7, "Controlling the Flow of Your Program."

  • For a more complete discussion of writing Visual Basic code, see Chapter 8, "Managing Program Tasks with Procedures."

  • To see how to use the built-in printer-related dialog boxes, see Chapter 23, "Creating and Using Reports."


    Team-Fly    
    Top
     



    Special Edition Using Visual Basic. NET
    Special Edition Using Visual Basic.NET
    ISBN: 078972572X
    EAN: 2147483647
    Year: 2001
    Pages: 198

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net