Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

QUITCALL for Other Forms

  • Last UpdatedOct 29, 2024
  • 1 minute read

Essentially, if no QUIT callback is present, then the form is cancelled (hidden with reset of gadget values). If a QUIT callback is provided then you can prevent the default Cancel action by returning a PML error, but you must hide the form from their callback method (It is more efficient the use '!this.hide()', rather than 'hide !!myform' from your form methods).

Note:
F&M does not display an alert for the returned error, it is merely for communication. You do not need a QUIT callback if you just want to allow the form to be hidden. For DOCUMENT forms (MDI children) only, the callback must not display an alert as this will cause some gadgets to malfunction afterwards.

Related Links
TitleResults for “How to create a CRG?”Also Available in