Older Newer
Thu, 25 Dec 2008 00:48:27 . . . . (mehdi)?


Changes by last author:

Added:
= FME_CANCEL =

== Description ==

:FME_CANCEL event is triggered when the user exits the plugin without applying the effect.

:It also works for the ESC key and the x button in the titlebar.

:To activate this event you need to use "Dialog: cancelevent" or setDialogEvent(2).

== Example ==

<code>

%ffp

Dialog: cancelevent

OnCtl(n): {

if (e==FME_CANCEL) {

Info("You just have exited from plugin");

}

return false;

}

</code>

== Also see ==

::FME_INIT, (setDialogEvent)?

== Comments ==

:Since Beta 8.7 the event n== CTL_CANCEL && e==FME_CLICKED is almost equivalent to the event e==FME_CANCEL

<code>

</code>

:Everyone can add his comments about his experiences with this event here. Tips for using it are welcome, too.