In the previous lesson, we have learned how to build a user interface in Visual Basic 2013 by customizing the default form. In this lesson, we shall continue building the interface by adding more controls to the form. There are many types of controls that we can add to the form. Among the controls, the most common ones are the button, label, textbox, list box, combo box, picture box, checkbox, and radio button. The controls' properties can be set to visible or invisible at runtime. However, some controls will only run in the background at runtime, one such control is the timer.
3.1 Positioning the Toolbox
The Toolbox is usually hidden when you start Visual Basic 2013, you need to click View on the menu bar and then select Toolbox to reveal the tool box, as shown in Figure 3.1. You can also use shortcut keys Ctrl+w+x to bring out the tool box.
You can position the toolbox by dragging it anywhere you like while its status is set to float. You can also dock the toolbox by right-clicking on the toolbox and choose dock from the pop-up menu. The docked toolbox that appears side by side with the default form is as shown in Figure 3.2.