Starting a New Context (Magic xpa 4.x)
When a program is called that is going to run in parallel to the current program, Magic xpa creates a new context and gives it a context ID. This ID is returned as a string to the calling program.
This new context will load concurrently to the calling program.
The new context has its own Main Program and its own main tree, which are independent of the calling program’s environment.
Whether the new task will be run in MDI and SDI is governed by the Window Type property of the form.
You can use the Task Properties in the Advanced tab to determine how to start a new context.
When a program is called that is to run concurrently (via a Call Operation or from a menu), the parameters that are passed to the new context are passed “by value” and cannot be passed “by reference”.
CtxSetName