Link to this page
Print this page
Parent topic
:
User interface programming
User interface
/
User interface programming
Dialog programming basics
This section describes basic dialog programming concepts.
The model-view-controller paradigm
The dynamic user interface architecture is based on the Model-View-Controller (MVC) paradigm.
Introducing dialogs
Application forms are controlled by interactive instruction blocks called dialogs. These blocks perform the common tasks associated with the form, such as field input and action handling.
Dialog configuration with FGLPROFILE
FGLPROFILE parameters can be used to configure dialog behavior.
The DIALOG control class
This topic explains the purpose of the
ui.DIALOG
class.
Dialog control functions
The language provides several built-in functions and operators to be used in a dialog instruction.
User interruption handling
Allow the end user to cancel the execution of a procedure in the program.
Get program control if user inactivity
Execute some code after a given number of seconds, when the user does not interact with the program.
Get program control on a regular (timed) basis
Execute some code after a given number of seconds, with or without user interaction with the program.
Implementing dynamic dialogs
Dialogs can be created at runtime with the
ui.Dialog
class.