Working with Multiple Tasks (Magic xpa 3.x)
You can call other programs from within your Rich Client task using the Call operation. The programs you call need to be either Rich Client or Batch tasks. You can use the same types of programs you would use in Online programming:
-
Selection programs can be used as you would for Online applications.
-
Modal Windows can be used to disallow access to other Windows until the Modal window is closed.
-
Parallel tasks can be run.
You can also implicitly call programs, using subforms or frames, as we will see. One subform or frame can display different programs at runtime using the Destination Property.
You can set one task to run in different ways at Runtime. For instance, you can have a task that runs in a subform, and also runs standalone. Most of this happens automatically, because of the way subforms operate.
However, if you want a task that will run using different Window Type properties, you need to set up two different forms for that task. Then, use an expression in the Main Display property to choose which form to run.
Calling Other Programs
Non-Interactive Tasks
Subforms
Frames
Transactions