Since Visual Basic 2013 is a GUI-based programming language, the first step in developing a VB2013 application is to build a graphical user interface. In order to build a graphical user interface, you need to insert controls from the toolbox to the form and then specify their properties.
The default form is also a control by itself, therefore, you can change its properties first before adding additional controls. Having added controls to the form, you then need to write code for each and every control so that they can respond to events triggered by the user's actions such as clicking the mouse or pressing a key on the keyboard. Therefore, Visual Basic 2013 is also an event-driven programming language. We shall learn more about the concept of event-driven programming and coding in later lessons.
When you start a new Visual Basic 2013 project, the IDE will display the default form along with the Solution Explorer window and the Properties window for the form as shown in Figure 2.1
The properties window displays all properties related to Form1 and their corresponding attributes or values. You can change the name of the form, the title of the form, the background color, the foreground color, the size and more. Now customize the following properties:
|Text||My First Program|
The output interface is shown in Figure 2.2. Notice that the title has been changed from Form1 to My First Program, the background changed to blue color and the window cannot be maximized.