OpenInsight processes promoted events in the following order:

  1. APPNAME*EVENTTYPE*FORMNAME.CONTROLNAME

  2. APPNAME*EVENTTYPE*FORMNAME.

  3. APPNAME*EVENTTYPE.CONTROLTYPE.OIWIN*

  4. SYSPROG*EVENTTYPE.CONTROLTYPE.OIWIN*

  5. APPNAME*EVENTTYPE..OIWIN*

  6. SYSPROG*EVENTTYPE..OIWIN*

  7. SYSPROG*..OIWIN*

Promoted events created in SYSPROG will apply to all applications. Also, if your application inherits from another application, then the inherited events will also apply.

You can terminate the event chain at any point by returning a 0 from your code.

When you save a form, the Form Designer checks for promoted events and includes them in the compiled form. This is done to improve performance at runtime.

You will need to re-compile all your forms the first time you add a promoted event or if you remove a promoted event.

  • No labels