Multiple and Single Document Interfaces (MDI) and (SDI) (Magic xpa 3.x)
Magic xpa lets you define a Multiple Document Interface (MDI) as well as a Single Document Interface (SDI).
The MDI and SDI functionality allows an application to open and concurrently run several tasks. It enables a program to be opened concurrently without the need to open a new instance of Magic xpa.
The Magic xpa engine can maintain multiple concurrencies, executing programs within the same application and within the same Magic xpa instance.
In Magic xpa, concurrent execution is implemented using contexts. When a program is run concurrently and a new context is opened,the new context will have its own Main Program. This Main Program and context are independent of the other contexts running under this process.
You can use the following Magic xpa items to work with the MDI and SDI functionality:
Advanced Tab – Task Properties
SDI – GUI Display Form Properties
Window Type Property
Startup Position – Form Property
Deployment Mode Setting
Functions – Multiple Contexts
Close Application internal event
Close Context internal event
Returned Context ID:
Call Operation Property
Menu Property
What are MDI and SDI?
Contexts – Runtime Behavior
Event Posting Between Contexts
Data Management – Contexts