Command Button Control Properties

See Also        

The following list identifies the properties you can set for a command button control. Those properties that apply only when the control is on a form are followed by (forms) for "Forms Only."

Click any name below to display additional information about that property, such as other restrictions concerning when the property is available, and whether you can set it in the property sheet, in a macro, or by using Visual Basic.

AddColon Name
AutoLabel OnClick (forms)
AutoRepeat (forms) OnDblClick (forms)
Cancel (forms) OnEnter (forms)
Caption OnExit (forms)
ControlTipText (forms) OnGotFocus (forms)
ControlType OnKeyDown (forms)
Default OnKeyPress (forms)
DisplayWhen (forms) OnKeyUp (forms)
Enabled (forms) OnLostFocus (forms)
FontItalic OnMouseDown (forms)
FontName OnMouseMove (forms)
FontSize OnMouseUp (forms)
FontUnderline Picture
FontWeight PictureType
ForeColor ShortcutMenuBar
Height StatusBarText (forms)
HelpContextID (forms) TabIndex (forms)
HyperlinkAddress TabStop (forms)
HyperlinkSubAddress Tag
InSelection (forms) Top
LabelAlign Transparent
LabelX Visible
LabelY Width
Left