Setting Runtime & Design Time Properties

Visual Basic operates in three modes.
1. Design mode – used to build application.
2. Run mode – used to run the application.
3. Break mode – used for debugging application.
Many properties can be set at either design time or run time. At design time controls are added to the form, their properties are set and code is written. During runtime you examine your program in action, just as the end user will see it.
To set a property at design time , following steps are followed:
1. Select the form or object whose characteristics are to be changed.
2. Activate the properties window.
3. Scroll the property you want to set and select its name.
4. Enter a new setting.
At runtime, property can be changed by a program code.
This is done like this:
For Animated Presentation Click Here
when you run the above application then the form1’s backcolor, mouse pointer and Caption will look like figure.