xInfo.formNotify Method [AX 2012]

Executes based on a particular type of change to a specific form, allowing custom code to run.

public void formNotify(
    FormRun form, 
    FormNotify notification, 
   [FormNotifyEventArgs formNotifyEventArgs])

Run On

Called

Parameters

form
Type: FormRun Class
The form that you want to monitor.
notification
Type: FormNotify Enumeration
A value that is supplied by the FormNotify system enumeration.
formNotifyEventArgs
Type: FormNotifyEventArgs Class

Possible values for the notification parameter are:

  • Activate

  • DeActivate

  • Open

  • Close

  • RecordChange

  • NoteClicked

For an example of the usage of this method, see the formNotify method of the Info class, where this method has been overridden.

Community Additions

ADD
Show: