Other Controls

Now that you have created a simple Visual Basic application, you should experiment with other controls by placing them on a new form. All the familiar Windows controls, such as check boxes and list boxes, appear on the toolbox. Each tool has its own set of unique properties. For example, labels, which hold text on the window, have Alignment, BorderStyle, Font, size, and location properties such as those you saw in the previous section. In addition, you can set other properties for labels such as the background color, text color, and even add ToolTips to the labels.


A ToolTip is a great feature that helps your users and is easy to implement by typing text into the ToolTipText property of a control. Most Windows applications ...

Get Absolute Beginner's Guide to Programming, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.