How do you abort a method using the custom dialog? For instance, using the default template, the “cancel” button acts the same as the “ok” button in which the method proceed regardless if you clicked the “cancel” or “ok” button. Tried looking it up in the user manual and Help Topics but to no avail. Below is a screenshot of what I mean. Any help is appreciated.
The usage of the If-Then group makes sense for telling the script to abort upon the “(2) Cancel” response but my next question is how do I initialize the left operand variable, in your example, “rtnDialog”, in the button within the custom dialog?