Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a class that contains the methods described by the RunBaseDialogable interface.
Syntax
public Object dialog()
Run On
Called
Return Value
Type: Object Class
A class that contains the methods described by the RunBaseDialogable interface.
Remarks
A dialog box can be built by using either the Dialog system or a class that is created in the Microsoft Dynamics AX Application Object Tree (AOT).
Examples
The following example shows a dialog box built by using a form in the AOT. This example will not compile in a job, because it has to be run in the context of a class, form, or other object.
//Dialog built using a form in the AOT:
public Object dialog()
{
dialogRunbase dialog = dialog::newFormnameRunbase
(formstr(tutorial_RunbaseForm),this);
dialog = super(dialog);
return dialog;
}