Chapter 11. Fundamental Controls

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
Part III:  Building Windows Applications


In this chapter

Introduction to Controls

Basic Controls

Controls for Making Choices

From Here…

In Chapter 2, "Creating Your First Windows Application," you were introduced to the use of controls. As you have seen by now, working with controls is a major part of the design and coding of a Visual Basic application.

Visual Basic .NET includes a large number of controls that enable you to easily develop applications with many of the same features as programs from Microsoft and other vendors. In this and subsequent chapters, you will learn about many of the controls included with Visual Basic .NET.

The controls discussed in this chapter are loosely grouped according to function. Space does not permit us to demonstrate building a sample application around each control. Instead, we discuss how to use each control, including suggestions for use in your own programs. I suggest that you create a "test" project that you can use to explore the use of the controls in which you are interested as you read about them.

Each control is accompanied by a picture of its Toolbox icon, as well as a table listing commonly used properties that apply to that control.

graphics/icon18.gif

You can download a sample project demonstrating the use of all the controls discussed in this and subsequent chapters from http://www.vbinsider.com. The sample project includes comments in its code to explain how it works. Look for the file named ControlDemo.ZIP.


    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