Share via


CommandButton Control Properties, Methods, and Events

The following tables list the properties, methods, and events reference topics for this object.

Properties

Alignment

Anchor

Application

AutoSize

BackColor

BaseClass

Cancel

Caption

ClassLibrary

Class

ColorScheme

ColorSource

Comment

Default

DisabledBackColor

DisabledForeColor

DisabledPicture

DownPicture

DragIcon

DragMode

Enabled

FontBold

FontCharSet

FontCondense

FontExtend

FontItalic

FontName

FontOutline

FontShadow

FontSize

FontStrikeThru

FontUnderline

ForeColor

Height

HelpContextID

Left

MouseIcon

MousePointer

Name

OLEDragMode

OLEDragPicture

OLEDropEffects

OLEDropHasData Property

OLEDropMode

ParentClass

Parent

Picture

PictureMargin

PicturePosition

PictureSpacing

RightToLeft

SpecialEffect

StatusBarText

Style

TabIndex

TabStop

Tag

TerminateRead

Themes

ToolTipText

Top

Visible

VisualEffect

WhatsThisHelpID

Width

WordWrap

Methods

AddProperty

CloneObject

Drag

Move

OLEDrag

ReadExpression

ReadMethod

Refresh

ResetToDefault

SaveAsClass

SetFocus

ShowWhatsThis

WriteExpression

WriteMethod

ZOrder

Events

Click

Destroy

DragDrop

DragOver

Error

ErrorMessage

GotFocus

Init

KeyPress

LostFocus

Message

MiddleClick

MouseDown

MouseEnter

MouseLeave

MouseMove

MouseUp

MouseWheel

OLECompleteDrag

OLEDragDrop

OLEDragOver

OLEGiveFeedBack

OLESetData

OLEStartDrag

RightClick

UIEnable

Valid

When

 

 

See Also

Reference

CommandButton Control

CommandGroup Control

Form Designer

Other Resources

Using Controls

Objects, Collections, and Classes

Language Reference