| iMatix home page
| Libero home page | Libero documentation
| << | < | > | >>
Libero Libero
Version 2.32

Using Sub-Dialogs

Libero supports a simple state call/return mechanism. This lets you build sub-dialogs that are called from other places in the dialog. In the 'calling' state, use the action Dialog-Call to call the sub-dialog state:

Calling-State:
    (--) Ok                         -> Sub-State
          + Do-Some-Normal-Work
          + Dialog-Call
    (--) Return                     -> Next-State
          + Continue-After-Call

The Return event controls what happens when the sub-state returns. The Return event can be in the same state, or in the Defaults state.

The sub-dialog can consist of one or many states. You should probably use some kind of naming convention to indicate that these states go together. At some point, the sub-dialog uses the action Dialog-Return. This ends the sub-dialog and continues in the calling state with the Return event.


| << | < | > | >>
| Using Libero | The Dialog File Syntax | Libero Options | Using Exceptions | Using The Defaults State | Using Sub-Dialogs | Using Super-States | Using Templates | Using Get-External-Event | Efficiency | Care and Feeding of Dialogs | When To Use Libero
iMatix
Copyright © 1996-97 iMatix