Other Specialized Controls

Visual Basic .NET includes a number of controls that perform specific functions. Some of these controls are discussed in the following sections.

The LinkLabel Control

The LinkLabel control is a welcome enhancement to the standard Label control. As you may have gathered from its name, the LinkLabel control is much like a normal Label control, but it allows the user to click one or more Web-like hyperlinks to perform some action, such as opening a new form or visiting a Web page. The hyperlink analogy will be familiar to Web-savvy users.

As you will see, you can designate all or part of the text that makes up a LinkLabel control’s Text property to be a hyperlink. When the user clicks the hyperlink text in the control, ...

Get Special Edition Using Microsoft® Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.