Global::formHasMethod

This method determines if a form has the specified method. It is a best practice to call this method before executing the desired method on the form itself.


For example:
Object formRunObject;

if (formHasMethod(formRun, identifierstr(refreshForm)))
{
    formRunObject = formRun;
    formRunObject.refreshForm();
}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.