Text-Based Form Properties (Magic xpa 4.x)
Text-based forms must be Class > 0.
The properties that do not apply to text-based forms are disabled in the Text-based Form Properties sheet.
You can access the Text-based Form Properties sheet by:
-
Selecting Edit/Properties from a Form Editor entry with a text-based interface type.
-
Pressing Alt+Enter from a Form Editor entry with a text-based interface type.
-
Selecting Properties from the context menu while on a Form Editor entry with a text-based interface type.
-
Double clicking on the text-based form grid.
The Text-based form properties are as follows:
Model
|
The Model property lets you:
|
Model Name
|
The name of the selected model.
|
Show Grid
|
Defines whether the form will display the dot grid. If you enter a True value, the form will display the grid. If you enter a False value, the form will not display the grid. The default is False.
|
Form Name
|
This is the Name in the Form Designer. This Name appears in the title bar of the form. You can optionally select an expression that will return the form title when evaluated at runtime.
|
Area
|
For report forms, the Area field can be set to the header, details, footer, page header, or page footer.
|
Expand Form
|
If you have a form that you want to print and the fields are dynamic in size, you can use the following options in the Expand Form property to dynamically adjust the size of the form:
No – The form will not expand.
One page – The form will expand its size up to a single page to make room for new lines in the multi-line Edit control.
Multi-page – The form will expand across multiple pages to fit all the lines of the Edit control (with no limit). The table row will expand when the data will not fit on one row.
|
-
This property only works on graphical output.
-
Sometimes in the Print Previewer, the last line of the wrapped field will not show correctly. This is an issue with the Print Previewer, but the report will work correctly when it goes to a printer.
-
Expanded controls in a table will be printed on multiple pages only if the form does not contain expanded controls outside the table. In that case, the Expand Form property will behave as if set to One page.
|
See also SpecialSkipInMultiEdit
|
Print Attribute
|
The print attribute for the form taken from the Print Attribute repository. Zoom from this property to the Print Attributes list.
Note: The color of the selected print attribute will not be seen on the form.
See also Specifying a Print Style for a Section of Output Text
|
Automatic Z-order
|
In Automatic mode, the Z-order of each control is set automatically. Manual mode requires you to manually set the z-order for each control.
|
Width
|
Determines the width of the form.
|
Height
|
Determines the height of the form.
|