Share via


RunBase.dialogTask Method [AX 2012]

When using the Dialog Class class for dialog, this method is called from the task method in the dialog form.

Syntax

public void dialogTask([int task])

Run On

Called

Parameters

  • task
    Type: int
    The task command that is sent from the form executer; optional.

Remarks

The Dialog.allowUpdateOnTask Method method has to be set to true to enable this feature.

Generally, it is best to use the RunBase.dialogSelectCtrl Method method instead, if it is possible.

See Also

RunBase Class

RunBase.dialogSelectCtrl Method

Dialog.allowUpdateOnTask Method