Visual Basic Control Properties
Each control in Visual Basic (VB) has multiple properties depending on the nature of the control. Properties determine what the control looks like, what effect it has and how it relates to other objects. Newer versions of VB include more controls than VB6, but the types are the same.
-
Appearance
-
These include dimensionality (flat or 3D), Back and Fore Colors, Fill Style, Border Style and Font.
Data
-
These properties provide information linkages to data sources, data fields, data format and data members. They are set at design time when databases are involved.
-
Behavior
-
These include a varying number of properties depending on the control. Examples include whether the control is enabled or visible, how the control is drawn and sorting of the contents.
Position
-
There are four position control properties driving where information appears on the form: Height, Left, Top and Width. A form itself has an additional property: Start-up Position.
Scale
-
These only relate to forms and deal with scalability: Scale height, Scale Left, Scale Mode, Scale Top and Scale Width.
Miscellaneous
-
Most of these properties control things such as mouse behavior and appearance, whether and what type of help information such as Tool Tip Text or whether "What's This Help" appears.
-