Expand Minimize
This topic has not yet been rated - Rate this topic

RunBase.checkCloseDialog Method [AX 2012]

Must be called in the CloseOk method of a RunBase dialog box.

public boolean checkCloseDialog([Object calledFrom])

Run On

Called

Parameters

calledFrom
Type: Object Class
The object or form that calls the method; optional.

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.

The following code example is from the CloseOk method of a dialog form.

void CloseOk() 
{ 
    if (RunBase.CheckCloseDialog()) 
        super(); 
}
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.