OnActivate Property

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

object.OnActivate = [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 activate 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

OnActivate is triggered when Newlook regains foreground focus from another Windows application. It is not triggered when Newlook is first started as it would have focus by default in that scenario.

See Also

OnDeactivate property | OnGotFocus property | OnLostFocus property | OnResize property

Applies To

App object


© 2004-2021 looksoftware. All rights reserved.