Previous Topic: Application ThreadNext Topic: Application Levels


Operative and Nonoperative Dialogs

At run time, a function or dialog can be either operative or nonoperative within an application thread.

Operative Dialog

A dialog becomes operative when it receives processing control. A function or dialog remains operative when it passes control to a lower level function or dialog or to another part of itself.

Only one dialog can be operative at any time on any given application level. As long as a dialog or dialog function remains operative, all record buffers associated with the dialog are maintained.

Nonoperative Dialog

A function or dialog becomes nonoperative when it passes control to a higher level-function or dialog or to a function or dialog (including a copy of itself) on the same level. All functions and dialogs become nonoperative when control passes out of the application.

When a dialog or dialog function becomes nonoperative, the record buffers established by that dialog are released.