OnDeactivate Property

Sets or returns the name of the macro or script to be run when the App object's deactivate event is triggered.

object.OnDeactivate = [string]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and string is a string expression specifying the script or macro to run when the Deactivate event is triggered.

Client support

   Newlook Smartclient only.

Version Support

Obsolete for the Form object in version 11.0.

Introduced for the App object in version 11.0.4.

Use

OnDeactivate is triggered when the Newlook application loses foreground focus to another Windows application. It can be useful if you wish to perform an action when the user navigates away to another application.

See Also

OnActivate property | OnGotFocus property | OnLostFocus property | OnResize property

Applies To

App object


© 2004-2021 looksoftware. All rights reserved.