Changes

Jump to: navigation, search

A Simple Visual Basic Example

1 byte removed, 18:47, 16 July 2007
Setting Control Properties
The properties displayed at any one time are related to the currently selected control in the Form. If you click on the Label and then the Button in your Form you will see the properties panel change to reflect the current selection.
To begin with we will change the text of the Label control. Select the Label control in the form and then scroill scroll down the list of properties until you find ''Text''. This is the property which defines the text to be displayed on the currently selected Label control. Change this from the current value ('Label1') to read ''My First VB Application''. Notice that as soon as you change this property the Label in the Form changes to reflect the new property setting.
Select the Button control in the Form and change the ''Text'' Property for this control to read ''Close''. Re-position the controls in the Form is necessary. You should now have a Form which looks something like the following:

Navigation menu