RunBase.checkCloseDialog Method

Must be called in the RunBase dialog CloseOk method.

public boolean checkCloseDialog([Object calledFrom])

Run On

Called

Parameters

Parameter

Description

calledFrom

The object/form which calls the method; optional.

Remarks

The calledFrom parameter is passed to the validate method of the class if validate has an object as the first parameter in its profile.

Example

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

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

See Also

RunBase Class

RunBase.validate Method