CancelEvent Method

Cancels behaviors that are triggered by the event that caused the current script to run. Corresponds to the CancelEvent action.

App.CancelEvent()

Client support

   Newlook Smartclient

   Newlook Server

Parameters

None.

Use

This method is intended to provide the user with a means to cancel certain behaviors that cannot be prevented any other way.

ALERT!

The CancelEvent method does not cancel the event itself. It is limited to specific scenarios that cannot be prevented any other way.

The CancelEvent method can be used with the following event-related properties:

If the script was not triggered by an event, this method does nothing.

Returns

This event returns a boolean, indicating if the method is successful or not.

See Also

Form object | Function key object | Datagrid control | Tab control | SmartNav control

Applies To

App object


© 2004-2021 looksoftware. All rights reserved.