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.
Newlook Smartclient only.
for the Form object in version 11.0.
Introduced for the App object in version 11.0.4.
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.
OnActivate property | OnGotFocus property | OnLostFocus property | OnResize property
© 2004-2021 looksoftware. All rights reserved.