Share via


RunBaseDialogable.closeOk Method [AX 2012]

Must close the form with an OK.

Syntax

public void closeOk()

Run On

Client

Remarks

All RunBase dialog forms that are created in the Application Object Tree (AOT) must have this method. A FormRun class already has the method.

The method must contain at least the following code.

Examples

void CloseOk() 
{ 
    if (RunBase.checkCloseDialog()) 
    { 
        super(); 
    } 
}

See Also

RunBaseDialogable Interface

RunBase.checkCloseDialog Method