Dialogs

Previous Next

A dialog is a window that helps an end user perform a specific task, or communicates with the user about some specific issue that has arisen.

Dialogs contrast with info boxes, which enable an end user to interact with data in database tables.

Dialogs are usually comparatively simple and small. They usually contain one or more buttons that enable a user to respond.

Dialogs are usually modal: the user can only leave the dialog by responding to it. Other windows cannot be made active as long as the dialog is active.

A dialog is opened when a user chooses a menu option or clicks a button, or when some event occurs that requires communication with the user. Dialogs do not appear in the default application that USoft generates on the basis of the data model defined in USoft Definer: as a developer, you must script their appearance, by using for example the action statement:

dialog-class.Window.Create()

 

DE_clip0026

Design view (left) and object tree (right) of a dialog class

 

 

collapseDesigning a dialog
collapseCalling a dialog
collapseConditional behaviour on dialog exit
collapsePassing values to and from dialogs