Subsystem Startup Sequence (Magic xpa 4.x)
You can set your interactive Web application to start by displaying the available menu and a simple welcome message, or you can set a startup subsystem thread to be executed as soon as the browser opens the application.
The startup subsystem thread can be a thread that every end-user initially passes through or a commonly used procedure in the subsystem, such as a pending orders display.
The top-level program of the startup subsystem thread should be called from the menu program’s Task Prefix. The Call operation’s destination frame should be the designated frame. In this way, as the menu program is loaded, it automatically runs the startup subsystem thread.
Tip:
|
Many times the startup subsystem thread is also displayed as a menu option. This means that the relevant Call operation should be executed in the Task Prefix and on clicking the corresponding menu option.
You can make good use of the Handler re-use attribute by setting the Call operation in a Handler that will respond to the click on the menu option and will be raised in the Task Prefix, using the Raise Event operation).
|