Form JSON property list
This page provides a comprehensive list of all form properties, sorted by their JSON name. Click on a property name to access its detailed description.
In the "Form Properties" chapter, properties are sorted according to their names and themes in the Property List.
b - c - d - e - f - h - i - m - p - r - s - w
Property | Description | Possible Values |
---|---|---|
b | ||
bottomMargin | Vertical margin value (in pixels) | minimum: 0 |
c | ||
colorScheme | Color scheme for the form | "dark", "light" |
css | CSS file(s) used by the form | CSS file path(s) provided as a string, a collection of strings, or a collection of objects with "path" and "media" properties |
d | ||
destination | Form type | "detailScreen", "listScreen", "detailPrinter", "listPrinter" |
e | ||
entryOrder | The order in which active objects are selected when the Tab or the Carriage return key is used in an input form | Collection of 4D Form object names |
events | List of all events selected for the object or form | Collection of event names, e.g. ["onClick","onDataChange"...]. |
f | ||
formSizeAnchor | Name of the object whose position determines the size of the form. (minimum length: 1) | Name of a 4D object |
h | ||
height | Height of the form | minimum: 0 |
i | ||
inheritedForm | Designates the form to inherit | Name (string) of table or project form OR a POSIX path (string) to a .json file describing the form OR an object describing the form |
inheritedFormTable | Designates the table an inherited form will use | A table name or number |
m | ||
markerBody | Detail marker position | minimum: 0 |
markerBreak | Break marker position(s) | minimum: 0 |
markerFooter | Footer marker position | minimum: 0 |
markerHeader | Header marker position(s) | integer minimum: 0; integer array minimum: 0 |
memorizeGeometry | Saves the form parameters when the form window is closed | true, false |
menuBar | Menu bar to associate to the form | Name of a valid menu bar |
method | A project method name. | The name of an existing project method |
p | ||
pages | Collection of pages (each page is an object) | Page objects |
pageFormat | object | Available print properties |
r | ||
rightMargin | Horizontal margin value (in pixels) | minimum: 0 |
s | ||
shared | Specifies if a form can be used as a subform | true, false |
w | ||
width | Width of the form | minimum: 0 |
windowMaxHeight | Form window's largest allowable height | minimum: 0 |
windowMaxWidth | Form window's largest allowable width | minimum: 0 |
windowMinHeight | Form window's smallest allowable height | minimum: 0 |
windowMinWidth | Form window's smallest allowable width | minimum: 0 |
windowSizingX | Form window's vertical sizing | "fixed", "variable" |
windowSizingY | Form window's horizontal sizing | "fixed", "variable" |
windowTitle | Designates a form window's title | A name for the form window |