Lesson 5
Lesson 5
OBJECTIVES:
1. Familiarize with the command button procedure.
2. Simulate program using command buttons.
3. Create program integrated with the command button control.
COMMANDBUTTON CONTROL
CommandButton is a control that you press to tell a VB application to perform
a particular task. A button labeled Compute may tell the VB to computer for
the sum of two numbers and display the result on a Label. Below are the
common properties of a CommandButton.
Property
Description
BackColor
Graphical.
Cancel
Caption
Default
Enabled
Font
Height
Left
MousePointer Determines the image of the mouse cursor when the user
Graphical.
Style
TabIndex
TabStop
ToolTipText
Top
Visible
Width