Object script triggers

Object script triggers are activated when a user enters, modifies, or exits an object or objects on a layout. See Setting script triggers for objects.

OnObjectEnter

Performs a script when a layout object becomes active.

OnObjectKeystroke

Performs a script when an object is active and receives one or more characters from the keyboard, either directly or via an input method editor (IME). Use the Get(TriggerKeystroke) function to return the characters that activated the script trigger.

OnObjectModify

Performs a script when the value associated with an object changes.

OnObjectValidate

Performs a script before an active object has been validated and saved.

OnObjectSave

Performs a script after object data has been validated and saved, but before the field is exited.

OnObjectExit

Performs a script before an active object is exited.

OnPanelSwitch

Performs a script when a panel control changes panels. This can happen in a tab control, for example, when a user clicks an inactive tab panel or when a script changes the focus to an object on a different tab panel.

OnObjectAVPlayerChange

Performs a script if the media is playing from a container layout object, and the state of the player changes.