CancelButton Property

Object List Next Object

Defined By:
Form

Description:

References the CancelButton object, which allows a user to select the designated button by pressing ESC. When the CancelButton is selected, no action is performed.

Details:

When a user presses the ESC key while a form with a CancelButton reference has focus, the button pointed to by CancelButton will receive a Click event.

Data Type: Button