Tuesday, December 11, 2007

How to work with Standard Controls in Visual Basic

How to work with Standard Controls in Visual Basic

To work with Standard Controls in Visual Basic

Using the Controls in Visual Basic 6.0:

Control Name

Function

PictureBox

Display graphics images.

Label

Display text.

TextBox

Display text and used to enter and edit text.

Frame

Serves as a container for other controls

CommandButton

Initiate actions by clicking the button.

CheckBox

Make the True and False choices

OptionButton

Choose one of a group of items.

CombolBox

Choose from a list of items or enter a new value

ListBox

Choose from a list of items

Horizontal Scrollbar

Choose a value based on the position of the button in the bar.

Vertical Scrollbar

Choose a value based on the position of the button in the bar.

Timer

Programs perform functions on a timed event.

Drive List Box

Select a disk drive.

Directory List Box

Select a directory or folder.

File List Box

Select a file.

Shape

Display a shape on the form.

Line

Display a line on the form

Image

Displays pictures or graphics.

Data Control

Interface between the program and a data source.

OLE

Connection between the program and an OLE server

Common Dialog

To retrieve information such as file names, fonts, and colors

No comments: