NXKnowledge

NX Open Programmer's Guide > Block Styler Automation > Block Styler Memory and Callbacks > Standard Navigator Buttons

Standard Navigator Buttons

Regardless of which callbacks are defined for a dialog, all standard NX dialogs have an Ok, Apply, and Cancel button. The standard behavior of these buttons is:

  • Ok — Execute an Apply action using the current dialog values and exit the dialog.
  • Apply — Execute the dialog actions using the current dialog values, then reinitialize the dialog for a new edit or create.
  • Cancel — Exit the dialog without taking any further actions.

To ensure standard behavior the Apply callback is required. Furthermore, the template code for the Ok callback will include a call to the Apply callback.

Note: If you do not generate an Ok callback then NX will execute your Apply callback automatically when the Ok button is hit.

Related Topics

  • Block Styler Memory and Callbacks
  • Dialog Memory
  • Dialog Values
  • Callbacks
  • Dialog Value Example

Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20220512394070742.nxopen_prog_guide/genid_standard_navigator_buttons_11_729 · retrieved 2026-07-07