xInfo.formNotify Method

Definition

Overloads

formNotify(xFormRun, FormNotify)

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

formNotify(xFormRun, FormNotify, FormNotifyEventArgs)

formNotify(xFormRun, FormNotify)

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

public:
 virtual void formNotify(Dynamics::AX::Application::xFormRun ^ run1, Dynamics::AX::Application::FormNotify notify1);
public virtual void formNotify (Dynamics.AX.Application.xFormRun run1, Dynamics.AX.Application.FormNotify notify1);
abstract member formNotify : Dynamics.AX.Application.xFormRun * Dynamics.AX.Application.FormNotify -> unit
override this.formNotify : Dynamics.AX.Application.xFormRun * Dynamics.AX.Application.FormNotify -> unit
Public Overridable Sub formNotify (run1 As xFormRun, notify1 As FormNotify)

Parameters

run1
xFormRun
notify1
FormNotify

Remarks

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.

Applies to

formNotify(xFormRun, FormNotify, FormNotifyEventArgs)

public:
 virtual void formNotify(Dynamics::AX::Application::xFormRun ^ _form, Dynamics::AX::Application::FormNotify _notification, Dynamics::AX::Application::FormNotifyEventArgs ^ _formNotifyEventArgs);
public virtual void formNotify (Dynamics.AX.Application.xFormRun _form, Dynamics.AX.Application.FormNotify _notification, Dynamics.AX.Application.FormNotifyEventArgs _formNotifyEventArgs);
abstract member formNotify : Dynamics.AX.Application.xFormRun * Dynamics.AX.Application.FormNotify * Dynamics.AX.Application.FormNotifyEventArgs -> unit
override this.formNotify : Dynamics.AX.Application.xFormRun * Dynamics.AX.Application.FormNotify * Dynamics.AX.Application.FormNotifyEventArgs -> unit
Public Overridable Sub formNotify (_form As xFormRun, _notification As FormNotify, _formNotifyEventArgs As FormNotifyEventArgs)

Parameters

_form
xFormRun
_notification
FormNotify
_formNotifyEventArgs
FormNotifyEventArgs

Applies to