RunBase.checkCloseDialog Method [AX 2012]
Must be called in the CloseOk method of a RunBase dialog box.
Syntax
public boolean checkCloseDialog([Object calledFrom])
Run On
Called
Parameters
- calledFrom
Type: Object Class
The object or form that calls the method; optional.
Remarks
The calledFrom parameter is passed to the validate method of the class if the validate method has an object as the first parameter in its profile.
Examples
The following code example is from the CloseOk method of a dialog form.
void CloseOk()
{
if (RunBase.CheckCloseDialog())
super();
}