DoDefaultAction Method

Class

AccessibleControl.

Action

If there is a default action for an accessible control, the DoDefaultAction method performs it.

Availability

This functionality is supported only if you are using the Open Agent.

Windows operating systems.

Syntax

accessibleControl.DoDefaultAction()

Example

For a button, the default action would be a Click.