共用方式為


OlkCommandButton.Exit Event (Outlook)

Occurs just after the focus passes from this control to another control on the same form.

Version Information

Version Added: Outlook 2007

Syntax

expression .Exit(Cancel)

expression A variable that represents an OlkCommandButton object.

Parameters

Name

Required/Optional

Data Type

Description

Cancel

Required

Boolean

False when the event occurs. If the event procedure sets this argument to True, the exit operation is not completed and the focus remains in this control.

See Also

Concepts

OlkCommandButton Object

OlkCommandButton Object Members