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();
}
Aucun commentaire:
Enregistrer un commentaire