THE CURSOR PROPERTY
- The Cursor property decides how the mouse-cursor will look on the form.
- Click the Cursor property and a drop-down-button appears in the right column.
- You can select any list item in that.
- Choose Debug/Start the program runs and the form pops on the screen.
- Click the EXIT button and the execution of the program terminates.
THE ENABLED PROPERTY
- The Enabled property decides whether the object should be in enabled or disabled state.
- It is an enumerated type property and it has two possible values: True and False.
- Default value is True.
- Choose Debug/Start the program runs and the form pops on the screen.
- Click the EXIT button nothing happens this is because it is disabled.
- Click Close-window-button in the form and the execution of the program terminates.
THE ICON PROPERTY
- It is a dialog box type property.
- Always default control-menu-icon is shown.
- To replace it, click the icon property an ellipse button appears, it indicates the presence of a dialog box.
- Select the respective icon-file in it.
- To delete the icon, Click the Icon property in the right column and the keyboard-cursor starts blinking in the right column.
- Strike the Delete key and the current icon is replaced by the default Windows From icon.
THE MAXIMIZEBOX PROPERTY
- The maximizeBox property decides whether the form should be equipped with the maximize-window-button or not.
- It is an enumerated type property: Takes values as True or False.
- Default value is True. Double-click this property in the left or right column and its value changes to False.
- Maximize-window-button in the control box of the form looks dim, indicating that it is disabled.
THE OPACITY PROPERTY
- IT is a text type property.
- It decides the opacity(or transparency) of the form.
- The default value is 100%.
- With is default value, the form is 100% opaque(or 0% transparent).
- The possible range of values is 0% to 100%.
- Double-click the opacity property in the left or right column and the text column gets selected.
- Choose Debug/Start the program runs and the form pops on the screen.
- Click the EXIT button and the execution of the program terminates.
THE STARTPOSITION PROPERTY
- It decides where the form should appear on the screen when the program executes.
- IT is an enumerated type property and its default values is WindowDefaultLocation.
- With this default value, the form appears in the top left region of the screen.
- Other possible values are Manual, CenterScreen,
- WindowDefaultLocation and CenterParent.
THE SHOWINTASKBAR PROPERTY
- This property decides whether the form icon should appear on the taskbar during the execution of the program.
- It is an enumerated type has values as True and False.
- Default value is true so form icon appears on the taskbar when the program starts to execute .
- IF it is set to false then no form icon appears on the taskbar, when the program is executed.
THE WINDOWSTATE PROPERTY
- It decides in which the form should appear on the screen when the program executes.
- It is an enumerated type property and its default value is Normal.
- Normalised state is also called as restored state.
- Other possible values are Normal,Minimized and Maximized.
VARIOUS PROPERTIES OF LABEL
- THE DOCK PROPERTY
- THE FONT PROPERTY
- THE BACKCOLOR AND FORECOLOR PROPERTIES
- THE TEXTALIGN PROPERTY
THE DOCK PROPERTY
- Dock property is an enumerated type property.
- Possible values of dock property are : Top, Left, Fill, Right, Bottom and None.
- It is available for text-box control also.
- IF fill option is selected, the control occupies all the available area on form.
THE FONT PROPERTY
- Font property is a dialog-box type property.
- IT is used to set the font, font size, and various font styles of text on the label.
- The default unit of font size is Point and one inch equals 72 points.
- Click the + symbol preceded by the property name Font in the left column.
- Click the button cancel and the dialog-box font disappears from the screen.
THE BACKCOLOR AND FORECOLOR PROPERTS
- Both these properties are enumerated type properties.
- If you click on the drop-down-button in the right column, then the color palette appears.
- Backcolor refers to the color of the label.
- Forecolor property refers to the color of the text on the label
THE TEXTALIGN PROEPRTY
- It is an enumerated type property.
- The possible values are TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight,BottomLeft,BottomCenter and BottomRight.
- Click desired option and set the property.
- Choose File/Exit Microsoft Visual Basic. Net shuts down.