共用方式為


OlkCommandButton.Enabled Property (Outlook)

Returns or sets a Boolean that indicates if the control is allowed to function. Read/write.

Version Information

Version Added: Outlook 2007

Syntax

expression .Enabled

expression A variable that represents an OlkCommandButton object.

Remarks

The default value is False.

When the control is disabled, the contents of the control appear dimmed.

See Also

Concepts

OlkCommandButton Object

OlkCommandButton Object Members