Main Display (Magic xpa 2.x)
This property lets you use an expression to define the number of the form that will serve as your main display form. This enables you to create programs with dynamically defined displays.
If a form is used in a subform, the Main Display property will not be evaluated.
In the Main Program, this property affects the MDI.
When using a form number inside any expression, to update it automatically, you must qualify the number explicitly using the FORM literal as follows:
Specify the form number nn as 'nn'FORM. For example, if you enter '2'FORM as a form expression in the Expression Editor , and later insert a new form in the Form Editor ahead of the existing numbers, thereby changing the old index entry from #2 to #3, Magic xpa will automatically change the '2'FORM to '3'FORM in the expression.
This expression is evaluated once when the task is opened. The form will not be changed after it was opened.
Default: 0
How Do I Dynamically Instruct the Task to Open a Different Form Than the Main Display Entry?