Salesforce

How Do I Run a Program as an SDI Program? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Run a Program as an SDI Program? (Magic xpa 3.x)

An SDI, or Single Document Interface program is a program that has its own:

It does not have a parent; its parent is the Desktop. It runs in its own context.

It is very easy to create SDI windows in Magic xpa. Just follow the steps below.

Defining an SDI context

  1. Set Form Properties->Window Type=SDI.

  2. Check Task Properties->Advanced->Parallel execution.

  3. Make sure that the Main Program has Task Properties->Interface->Open Window evaluated to No. Otherwise you will get an error.

That is all you need to do to define an SDI context.

Modifying the SDI context

  1. In Form Properties: When the task is defined as an SDI, there is a new section in the Form Properties called SDI. Here you can define:

  • Pulldown Menu and Display menu (Choose from the menus in the Menu repository).

  • Display Toolbar (to display or not).

  • Display Status Bar (to display or not).

  • Startup Mode (Default, Maximized, Minimized). If the form is set to Maximized, it will take up the entire desktop, because it is not confined to the Magic xpa frame.

Most of the rest of the Form Properties are still available and work as they would for any other form. The exception is the “Centered to MDI” startup position. This has no meaning, because there is no MDI, so it will be ignored.

  1. In Task Properties you can set the icon of the form. This shows in the upper left corner of the form, and also appears when using Windows Alt+Tab. If no value exists there, then the application icon will be used.

See also

Reference
Attachment 
Attachment