OKButton

This property returns and sets a value that determines whether a OKButton appears on the CommandBar.

Syntax

object.OKButton [= Boolean]

Parameters

object
Object expression that evaluates to a CommandBar control.
Boolean
Boolean expression that specifies whether the object can respond to user-generated events.
True (default)
An OK button appears on CommandBar.
False
An OK button does not appear on CommandBar.