Standard visual basic controls

 

 

Name

Prefix

Function

CheckBox

Chk

Displays or enables input of a two-part choice, such as
Yes/No or True/False.

ComboBox

cbo

Enables the user to select entry from a list or enter a new value.

CommandButton

Cmd

Enables the user to initiate a rogram action. Can
include an icon, caption, and ToolTips.

Data Control

Dat

Provides a link to database files.

Dir ListBox

Dir

Displays and enables a user to choose from available
subdirectories on a drive.

DriveListBox

Drv

Displays and enables a user to choose from available
disk drives on the computer.

FileListBox

Fil

Displays and enables a user to choose from available
files in a directory.

Frame

Fra

Serves as a container for other controls. Provides a
method for grouping controls. (To group controls
in a frame, select the frame with a single-click first,
then draw a control in it.)

HscrollBar

Hsb

Produces a numerical value based on the scroll bar's
horizontal position.

Image

img

Displays a graphic image. Similar in appearance to the
picture control but with different functionality.

Label

lbl

Displays text that the user can’t directly modify

Line

lin

Displays lines on the form.

ListBox

lst

Displays a list of items from which the user can
select one or more entries.

OLE Container

ole

Provides you with a way to link to OLE servers.

OptionButton

opt

Displays or enables a choice among multiple
items. (Also known as a radio button.)

PictureBox  

Pic

Displays a graphic image. It can also serve as a
container for other controls

Shape

shp

Displays geometric shapes on the form

TextBox

txt

Displays text that the user can edit.

Timer

tmr

Provides a means for an action to be taken after
passage of a certain amount of time.

VscrollBar

vsb

Same as above but vertical. Note the scrollbars behave
like standard Windows scrollbars.

 

 

visual basic controls by p. muthulakshmi & v. vanthana