Command1.Cancel = True ‘ Esc ile otomatik olarak işler
Command1.Caption = “&Çıkış” ‘ Tuş “Alt – Ç “ ile çalıştırılabilir
CommandButton - Özellikler
Appearance
BackColor
Cancel
Caption
CausesValidation
Container
Default
DisabledPicture
DownPicture
DragIcon
DragMode
Enabled
Font
FontBold
FontItalıc
FontName
FontSize
FontStrikethru
FontUnderline
ForeColor
Height
HelpContextID
HWnd
Index
Left
MaskColor
MouseIcon
MousePointer
Name
OleDropMode
Parent
Picture
RightToLeft
TabIndex
TabStop
Tag
ToolTipText
Top
UseMaskColor
Visible
WhatsThisHelpID
Width
Cancel : True - <ESC> tuşuna basıldığında Click() yordamını çalıştırır
Default : Form açıldığında butonun seçili olması
DisabledPicture : Butonun seçilemez durumda olduğunda üzerindeki resim
DownPicture : Buton basılı iken görüntülenecek resim
Picture : Grafik görünümde buton üzerinde ki resim
Style : Buton üzerinde resim kullanımı ( 0 - Standart, 1 – Grafik )
CommandButton - Olaylar
Click
DragDrop
DragOver
GotFocus
KeyDown
KeyPress
KeyUp
LostFocus
MouseDown
MouseMove
MouseUp
OleCompleteDrag
OleDragDrop
OleDragOver
OleGiveFeedBack
OleSetData
OleStartDrag
CommandButton - Yöntemler
Drag
Move
OleDrag
*******
SetFocus
ShowWhatsThis
Zorder
Command Button’un Click Olayını Kod ile Çalıştırmak
Command_Click
