Intrinsic Controls: Icon Control Name Class Name Description
Intrinsic Controls: Icon Control Name Class Name Description
Intrinsic Controls
The following table summarizes the intrinsic controls found in the Visual Basic toolbox. Icon Control name Check box Class name CheckBox Description Displays a True/False or Yes/No option. You can check any number of check boxes on a form at one time. Combines a text box with a list box. Allows a user to type in a selection or select an item from a drop-down list. Carries out a command or action when a user chooses it. Enables you to connect to an existing database and display information from it on your forms. Displays and allows a user to select directories and paths. Displays and allows a user to select valid disk drives. Displays and allows a user to select from a list of files. Provides a visual and functional container for controls. Allow a user to add scroll bars to controls that do not automatically provide them. (These are not the same as the built-in scroll bars found with many controls.) Displays bitmaps, icons, or Windows metafiles, JPEG, or GIF files; acts like a command button when clicked. Displays text a user cannot interact with or modify. Adds a straight-line segment to a form.
Combo box
ComboBox
CommandButton Data
Directory list box Drive list box File list box Frame
Image
Image
Label Line
Label Line
Picture box
PictureBox
Shape
Shape
TextBox Timer
Displays a list of items that a user can choose from. Embeds data into a Visual Basic application. The Option Button control, as part of an option group with other option buttons, displays multiple choices, from which a user can choose only one. Displays bitmaps, icons, or Windows metafiles, JPEG, or GIF files. It also displays text or acts as a visual container for other controls. Adds a rectangle, square, ellipse, or circle to a form, frame, or picture box. Provides an area to enter or display text. Executes timer events at specified time intervals.
Note The pointer tool (the first tool in the toolbox) provides a way to move and resize forms and controls. It is not a control.