Changes

Jump to: navigation, search

A Simple Visual Basic Example

No change in size, 18:48, 16 July 2007
Setting Control Properties
To begin with we will change the text of the Label control. Select the Label control in the form and then 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 if necessary. You should now have a Form which looks something like the following:
[[Image:Examp.jpg]]

Navigation menu