Export (0) Print
Expand All

CommandButton Object [Access 2003 VBA Language Reference]

Office 2003
CommandButton
Properties

This object corresponds to a command button. A command button on a form can start an action or a set of actions. For example, you could create a command button that opens another form. To make a command button do something, you write a macro or event procedure and attach it to the button's OnClick property.

Control: Tool:
Control Control

Note  This control should not be confused with the Dynamic HTML command button control used on a data access page. For information about a command button control on a data access page, see Command Button Control (Data Access Pages).

You can display text on a command button by setting its Caption property, or you can display a picture by setting its Picture property.



Parent Objects

Child Objects | Properties Object


Show:
© 2014 Microsoft