Section 14.1. Introduction


14.1. Introduction

This chapter continues our study of GUIs. We begin our discussion with menus, which present users with logically organized commands (or options). We show how to develop menus with the tools provided by Visual Studio. Next, we discuss how to input and display dates and times using the MonthCalendar and DateTimePicker controls. We also introduce LinkLabelspowerful GUI components that enable the user to visit one of several destinations, such as a file on the current machine or a Web page, by simply clicking the mouse.

We demonstrate how to manipulate a list of values via a ListBox and how to combine several checkboxes in a CheckedListBox. We also create drop-down lists using ComboBoxes and display data hierarchically with a treeView control. You'll also learn two other GUI componentstab controls and multiple document interface (MDI) windows. These components enable you to create real-world programs with sophisticated GUIs.

Visual Studio provides a large set of GUI components, several of which are discussed in this (and the preceding) chapter. Visual Studio also enables you to design custom controls and add them to the ToolBox, as we demonstrate in the last example of this chapter. The techniques presented in this chapter form the groundwork for creating more substantial GUIs and custom controls.



Visual BasicR 2005 for Programmers. DeitelR Developer Series
Visual Basic 2005 for Programmers (2nd Edition)
ISBN: 013225140X
EAN: 2147483647
Year: 2004
Pages: 435

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