ICommandEvents Interface

This is a callback interface that is used for reporting events from the Commands object to the listeners. This interface is implemented on the client-side. See the detailed implementation advice for your development tool in Working with Connectable Objects.

This interface allows you to handle execution of the basic commands and define actions on custom commands. See Customizing the Context Menu and Toolbar of a Visual Component for details.

Methods

Name Description
OnCommand Called before executing a command in a Visual Component. Delivers to the client information on the command which is going to be executed. Allows you to cancel the operation.

See also

Working with Connectable Objects

Customizing the Context Menu and Toolbar of a Visual Component

Commands

17.09.2024 15:14:40

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.