deactivate

deactivate();

The deactivate event of the Form class occurs when a different form becomes the active window.

When a non-MDI form or another MDI frame is then made active, both the active child and the MDI frame receive deactivate events (in that order). When moving between child forms of an MDI frame, only the child forms receive a deactivate event.

The deactivate event occurs when moving the focus within an application (including MDI to non-MDI) and to another application. The deactivate event does not occur when unloading a form.

The handling of activate and deactivate events ensures that the following events occur once only.

If another Windows or JADE application is activated while a JADE application is active, only deactivate events are generated for the deactivated JADE application.

If a JADE application is activated when another Windows or JADE application is active, only the activate events are generated for the activated JADE application.