Previous Topic: Windows and Window Controls That Signal EventsNext Topic: Initialization Accompanying an OPEN Event


OPEN GUI Event

An OPEN event is triggered just before a window or dialog box is to be displayed. It can be used to perform any window or dialog box initialization before the window or dialog box is displayed.

OPEN can be triggered for the following actions:

For example, to open a dialog box containing a list of departments, the procedure logic can include an OPEN statement.

An OPEN event handler contains statements to populate the list as shown in the next sample code. The list box for departments is then populated just before the Department dialog box is opened.