Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

Cadence User Interface Callback Routines

User interface objects can have callback routines associated with them. A callback is a SKILL routine that is asynchronously called back if some triggering user action takes place. Examples of such actions would be values being changed on forms, menu item selection, or dialog box confirmation. Typically, callbacks analyze and process data that you provide. In the case of forms, for example, a callback can be specified for each form field or for the form itself.

SKILL callbacks can be strings, symbols, or function objects. In any case, the string, the function specified by its symbol, or the function object, is evaluated in SKILL at the time the callback is triggered.

If the callback is:

A function object callback offers the following advantages over the string and symbol types:

The functionality of callback routines follow the following guidelines:

If an error is detected in a callback routine, a dialog box should be brought up to flag the error, or an error logged in the CIW output panel. The field (type-in fields only) can be highlighted as well.

Related Topics

Callbacks Supported by HI Forms and Fields

Function Object Callbacks


Return to top
 ⠀
X