Liste de propriétés JSON
Vous trouverez dans cette page une liste complète de toutes les propriétés d'objets triées selon leur nom JSON. Cliquez sur un nom de propriété pour accéder à sa description détaillée.
Dans le chapitre "Propriétés des objets de formulaire", les propriétés sont triées en fonction des noms et des thèmes de la liste des propriétés.
a - b - c - d - e - f - g - h - i - k - l - m - n - p - r - s - t - u - v - w - z
| Propriété | Description | Valeurs possibles |
|---|---|---|
| a | ||
| action | Une action à exécuter. | Nom d'une action standard valide. |
| allowFontColorPicker | Permet d'afficher le sélecteur de polices système ou le sélecteur de couleurs pour modifier les attributs d'un objet | true, false (par défaut) |
| alternateFill | Permet de définir une couleur d'arrière-plan différente pour les lignes / colonnes impaires dans une list box. | Toute valeur CSS; "transparent"; "automatic" |
| automaticInsertion | Permet d'ajouter automatiquement une valeur à une liste lorsqu'un utilisateur saisit une valeur qui ne se trouve pas dans l'énumération associée à l'objet. | true, false |
| b | ||
| booleanFormat | Indique seulement deux valeurs possibles. | true, false |
| borderRadius | La valeur du rayon d'arrondi pour les rectangles à coins arrondis. | minimum : 0 |
| borderStyle | Permet de définir un style standard pour la bordure de l'objet. | "system", "none", "solid", "dotted", "raised", "sunken", "double" |
| bottom | Positionne un objet en bas (centré). | minimum : 0 |
| c | ||
| choiceList | Associe une énumération à un objet | Une énumération |
| class | Une liste de mots séparés par des espaces utilisés comme sélecteurs de classe dans les fichiers css. | Une liste de noms de classes |
| columnCount | Nombre de colonnes. | minimum: 1 |
| colonnes | Une collection de colonnes list box | Collection d'objets colonne avec des propriétés de colonnes définies |
| contextMenu | Fournit à l'utilisateur l'accès à un menu contextuel standard dans la zone sélectionnée. | "automatic", "none" |
| continuousExecution | Indique s'il faut exécuter non la méthode d'un objet pendant que l'utilisateur suit le contrôle. | true, false |
| controlType | Indique comment la valeur doit être retournée dans une cellule de listbox. | "input", "checkbox" (pour les colonnes booléen / numérique), "automatic", "popup" (uniquement pour les colonnes booléens) |
| currentItemSource | Le dernier élément sélectionné dans une list box. | Expression d'objet |
| currentItemPositionSource | La position du dernier élément sélectionné dans une listbox. | Expression numérique |
| customBackgroundPicture | Définit l'image qui sera dessinée en arrière-plan du bouton. | Chemin relatif en syntaxe POSIX. Doit être utilisé avec l'option "Personnalisé" de la propriété "Style". |
| customBorderX | Définit la taille (en pixels) des marges horizontales internes d'un objet. Doit être utilisé avec l'option "Personnalisé" de la propriété "Style". | minimum : 0 |
| customBorderY | Définit la taille (en pixels) des marges verticales internes d'un objet. Doit être utilisé avec l'option "Personnalisé" de la propriété "Style". | minimum : 0 |
| customOffset | Définit une valeur d'offset personnalisée en pixels. Doit être utilisé avec l'option "Personnalisé" de la propriété "Style". | minimum : 0 |
| customProperties | Propriétés avancées (le cas échéant) | Chaîne JSON ou chaîne encodée en base64 |
| d | ||
| dataSource (objects) dataSource (subforms) dataSource (array list box) dataSource (Collection or entity selection list box) dataSource (list box column) dataSource (hierarchical list box) | Indique la source des données. | Une variable 4D, un nom de champ ou une expression de langage complexe arbitraire. |
| dataSourceTypeHint (objects) dataSourceTypeHint (list box column) | Indique le type de variable. | "integer", "number", "boolean", "picture", "text", date", "time", "arrayText", "collection", "object", "undefined" |
| dateFormat | Controls the way dates appear when displayed or printed. Must only be selected among the 4D built-in formats. | "systemShort", "systemMedium", "systemLong", "iso8601", "rfc822", "short", "shortCentury", "abbreviated", "long", "blankIfNull" (peut être combiné avec les autres valeurs possibles) |
| defaultButton | Modifies a button's appearance in order to indicate the recommended choice to the user. | true, false |
| defaultValue | Defines a value or a stamp to be entered by default in an input object | Chaîne ou "#D", "#H", "#N" |
| deletableInList | Indique si l’utilisateur peut supprimer des sous-enregistrements dans un sous-formulaire liste | true, false |
| detailForm (list box) detailForm (subform) | Associates a detail form with a list subform. | Name (string) of table or project form, a POSIX path (string) to a .json file describing the form, or an object describing the form |
| display | The object is drawn or not on the form. | true, false |
| doubleClickInEmptyAreaAction | Action to perform in case of a double-click on an empty line of a list subform. | "addSubrecord" ou "" to do nothing |
| doubleClickInRowAction (list box) doubleClickInRowAction (subform) | Action to perform in case of a double-click on a record. | "editSubrecord", "displaySubrecord" |
| dpi | Screen resolution for the 4D Write Pro area contents. | 0=automatic, 72, 96 |
| dragging | Enables dragging function. | "none", "custom", "automatic" (hors énumération, list box) |
| dropping | Enables dropping function. | "none", "custom", "automatic" (hors énumération, list box) |
| e | ||
| saisissable | Indicates whether users can enter values into the object. | true, false |
| enterableInList | Indicates whether users can modify record data directly in the list subform. | true, false |
| entryFiler | Associates an entry filter with the object or column cells. This property is not accessible if the Enterable property is not enabled. | Text to narrow entries |
| events | Liste de tous les événements sélectionnés pour l'objet ou le formulaire | Collection de noms d'événements, ex : ["onClick","onDataChange"...]. |
| excludedList | Allows setting a list whose values cannot be entered in the column. | Une liste de valeurs à exclure. |
| f | ||
| border-style | Définit la couleur de fond d'un objet. | Any CSS value, "transparent", "automatic" |
| focusable | Indicates whether the object can have the focus (and can thus be activated by the keyboard for instance) | true, false |
| fontFamily | Specifies the name of font family used in the object. | Nom d'une famille de police CSS |
| fontSize | Sets the font size in points when no font theme is selected | minimum : 0 |
| fontStyle | Le texte sélectionné est légèrement penché vers la droite. | "normal", "italic" |
| fontTheme | Sets the automatic style | "normal", "main", "additional" |
| fontWeight | Le texte sélectionné est plus foncé et plus épais. | "normal", "bold" |
| footer | Defines the footer of a list box column | Object with properties |
| footerHeight | Used to set the row height | pattern (\d+)(p|em)?$ (positive decimal + px/em ) |
| frameDelay | Permet de parcourir le contenu du bouton d'image à la vitesse spécifiée (en graduations). | minimum : 0 |
| g | ||
| graduationStep | Mesure de l'affichage de l'échelle. | minimum : 0 |
| h | ||
| header | Defines the header of a list box column | Object with properties |
| headerHeight | Used to set the row height | pattern ^(\d+)(px|em)?$ (positive decimal + px/em ) |
| height | Designates an object's vertical size | minimum : 0 |
| hideExtraBlankRows | Deactivates the visibility of extra, empty rows. | true, false |
| hideFocusRing | Hides the selection rectangle when the object has the focus. | true, false |
| hideSystemHighlight | Used to specify hiding highlighted records in the list box. | true, false |
| highlightSet | string | Name of the set. |
| horizontalLineStroke | Définit la couleur des lignes horizontales dans une list box (gris par défaut). | Any CSS value, "'transparent", "automatic" |
| i | ||
| icône | The pathname of the picture used for buttons, check boxes, radio buttons, list box headers. | Chemin relatif ou filesystem en syntaxe POSIX. |
| iconFrames | Sets the exact number of states present in the picture. | minimum: 1 |
| iconPlacement | Désigne l'emplacement d'une icône par rapport à l'objet formulaire. | "aucun", "gauche", "droite" |
| k | ||
| keyboardDialect | To associate a specific keyboard layout to an input. | A keyboard code string, e.g. "ar-ma" |
| l | ||
| labels | A list of values to be used as tab control labels | ex: "a", "b, "c", ... |
| labelsPlacement (objects) labelsPlacement (splitter / tab control) | Indique l'emplacement du texte d'un objet. | "none", "top", "bottom", "left", "right" |
| layoutMode | Mode for displaying the 4D Write Pro document in the form area. | "page", "draft", "embedded" |
| left | Positions an object on the left. | minimum : 0 |
| list, see choiceList | A list of choices associated with a hierarchical list | Une énumération |
| listboxType | The list box data source. | "array", "currentSelection", "namedSelection", "collection" |
| listForm | List form to use in the subform. | Name (string) of table or project form, a POSIX path (string) to a .json file describing the form, or an object describing the form |
| lockedColumnCount | Number of columns that must stay permanently displayed in the left part of a list box. | minimum : 0 |
| loopBackToFirstFrame | Les images sont affichées en boucle continue. | true, false |
| m | ||
| max | The maximum allowed value. For numeric steppers, these properties represent seconds when the object is associated with a time type value and are ignored when it is associated with a date type value. | minimum: 0 (pour les types de données numériques) |
| maxWidth | Designates the largest size allowed for list box columns. | minimum : 0 |
| metaSource | A meta object containing style and selection settings. | An object expression |
| method | Le nom d'une méthode projet. | Le nom d'une méthode projet existante |
| methodsAccessibility | Which 4D methods can be called from a Web area | "none" (par défaut), "all" |
| min | The minimum allowed value. For numeric steppers, these properties represent seconds when the object is associated with a time type value and are ignored when it is associated with a date type value. | minimum: 0 (pour les types de données numériques) |
| minWidth | Designates the smallest size allowed for list box columns. | minimum : 0 |
| movableRows | Autorise le déplacement des lignes pendant l'exécution. | true, false |
| multiline | Handles multiline contents. | "yes", "no", "automatic" |
| n | ||
| name | The name of the form object. (Optional for the form) | Any name which does not belong to an already existing object |
| numberFormat | Controls the way the alphanumeric fields and variables appear when displayed or printed. | Nombres (y compris un signe décimal ou négatif si nécessaire) |
| p | ||
| picture | The pathname of the picture for picture buttons, picture pop-up menus, or static pictures | Chemin relatif ou filesystem en syntaxe POSIX. |
| pictureFormat (input, list box column or footer) pictureFormat (static picture) | Controls how pictures appear when displayed or printed. | "truncatedTopLeft", "scaled", "truncatedCenter", "tiled", "proportionalTopLeft" (excluding static pictures), "proportionalCenter"(excluding static pictures) |
| placeholder | Grays out text when the data source value is empty. | Text to be grayed out. |
| pluginAreaKind | Describes the type of plug-in. | The type of plug-in. |
| popupPlacement | Allows displaying a symbol that appears as a triangle in the button, which indicates that there is a pop-up menu attached. | "None", Linked", "Separated" |
| printFrame | Print mode for objects whose size can vary from one record to another depending on their contents | "fixed", "variable", (sous-formulaire uniquement) "fixedMultiple" |
| progressSource | A value between 0 and 100, representing the page load completion percentage in the Web area. La variable est mise à jour automatiquement par 4D. Il n’est pas possible de la modifier manuellement. | minimum : 0 |
| r | ||
| radioGroup | Enables radio buttons to be used in coordinated sets: only one button at a time can be selected in the set. | Radio group name |
| requiredList | Allows setting a list where only certain values can be inserted. | Une liste de valeurs obligatoires. |
| resizable | Designates if the size of an object can be modified by the user. | "true", "false" |
| resizingMode | Specifies if a list box column should be automatically resized | "rightToLeft", "legacy" |
| right | Positions an object on the right. | minimum : 0 |
| rowControlSource | A 4D array defining the list box rows. | Tableau |
| rowCount | Sets the number of rows. | minimum: 1 |
| rowFillSource (array list box) rowFillSource (selection or collection list box) | The name of an array or expression to apply a custom background color to each row of a list box. | The name of an array or expression. |
| rowHeight | Sets the height of list box rows. | CSS value unit "em" or "px" (default) |
| rowHeightAuto | boolean | "true", "false" |
| rowHeightAutoMax | Designates the largest height allowed for list box rows. | CSS value unit "em" or "px" (default). minimum : 0 |
| rowHeightAutoMin | Designates the smallest height allowed for list box rows. | CSS value unit "em" or "px" (default). minimum : 0 |
| rowHeightSource | An array defining different heights for the rows in a list box. | Nom d'une variable tableau 4D. |
| rowStrokeSource (array list box) rowStrokeSource (selection or collection/entity selection list box) | An array or expression for managing row colors. | Name of array or expression. |
| rowStyleSource (array list box) rowStyleSource (selection or collection/entity selection list box) | An array or expression for managing row styles. | Name of array or expression. |
| s | ||
| scrollbarHorizontal | A tool allowing the user to move the viewing area to the left or right. | "visible", "hidden", "automatic" |
| scrollbarVertical | A tool allowing the user to move the viewing area up or down. | "visible", "hidden", "automatic" |
| selectedItemsSource | Collection of the selected items in a list box. | Expression collection |
| selectionMode (hierarchical list) selectionMode (list box) selectionMode (subform) | Allows the selection of multiple records/rows. | "multiple", "single", "none" |
| shortcutAccel | Specifies the system to use, Windows or Mac. | true, false |
| shortcutAlt | Designates the Alt key | true, false |
| shortcutCommand | Designates the Command key (macOS) | true, false |
| shortcutControl | Designates the Control key (Windows) | true, false |
| shortcutKey | The letter or name of a special meaning key. | "[F1]" -> "[F15]", "[Return]", "[Enter]", "[Backspace]", "[Tab]", "[Esc]", "[Del]", "[Home]", "[End]", "[Help]", "[Page up]", "[Page down]", "[left arrow]", "[right arrow]", "[up arrow]", "[down arrow]" |
| shortcutShift | Designates the Shift key | true, false |
| showFooters | Displays or hides column footers. | true, false |
| showGraduations | Affiche/masque les graduations à côté des étiquettes. | true, false |
| showHeaders | Displays or hides column headers. | true, false |
| showHiddenChars | Affiche/masque les caractères visibles. | true, false |
| showHorizontalRuler | Displays/hides the horizontal ruler when the document view is in Page view mode | true, false |
| showHTMLWysiwyg | Enables/disables the HTML WYSIWYG view | true, false |
| showPageFrames | Displays/hides the page frame when the document view is in Page view mode | true, false |
| showReferences | Affiche toutes les expressions 4D insérées dans le document 4D Write Pro comme références | true, false |
| showSelection | Keeps the selection visible within the object after it has lost the focus | true, false |
| showVerticalRuler | Displays/hides the vertical ruler when the document view is in Page view mode | true, false |
| singleClickEdit | Enables direct passage to edit mode. | true, false |
| sizingX | Specifies if the horizontal size of an object should be moved or resized when a user resizes the form. | "grow", "move", "fixed" |
| sizingY | Specifies if the vertical size of an object should be moved or resized when a user resizes the form. | "grow", "move", "fixed" |
| sortable | Allows sorting column data by clicking the header. | true, false |
| spellcheck | Activates the spell-check for the object | true, false |
| splitterMode | Lorsqu'un objet splitter a cette propriété, les autres objets à sa droite (splitter vertical) ou en dessous (splitter horizontal) sont poussés en même temps que le splitter, sans arrêt. | "grow", "move", "fixed" |
| startPoint | Starting point for drawing a line object (only available in JSON Grammar). | "bottomLeft", topLeft" |
| staticColumnCount | Number of columns that cannot be moved during execution. | minimum : 0 |
| step | Intervalle minimum accepté entre les valeurs pendant l'utilisation. Pour les steppers numériques, cette propriété représente les secondes lorsque l'objet est associé à une valeur de type heure et représente les jours lorsqu'il est associé à une valeur de type date. | minimum: 1 |
| storeDefaultStyle | Store the style tags with the text, even if no modification has been made | true, false |
| stroke (text) stroke (lines) stroke (list box) | Specifies the color of the font or line used in the object. | Any CSS value, "transparent", "automatic" |
| strokeDashArray | Décrit le type de ligne en pointillé comme une séquence de points noirs et blancs | Number array or string |
| strokeWidth | Désigne l'épaisseur d'une ligne. | An integer or 0 for smallest width on a printed form |
| style | Permet de définir l'apparence générale du bouton. Pour plus d'informations, voir Style de bouton. | "regular", "flat", "toolbar", "bevel", "roundedBevel", "gradientBevel", "texturedBevel", "office", "help", "circular", "disclosure", "roundedDisclosure", "custom" |
| styledText | Permet d'utiliser des styles spécifiques dans la zone sélectionnée. | true, false |
| switchBackWhenReleased | Affiche la première image en permanence, sauf lorsque l'utilisateur clique sur le bouton. Affiche la deuxième image jusqu'à ce que le bouton de la souris soit relâché. | true, false |
| switchContinuously | Permet à l'utilisateur de maintenir le bouton de la souris enfoncé pour afficher les images en continu (c'est-à-dire sous forme d'animation). | true, false |
| switchWhenRollover | Modifie le contenu du bouton image lorsque le curseur de la souris passe dessus. L'image initiale s'affiche lorsque le curseur quitte la zone du bouton. | true, false |
| t | ||
| table | La table à laquelle appartient le sous-formulaire Liste (le cas échéant). | Nom de table 4D, ou "" |
| text | Le titre de l'objet formulaire | Tout type de texte |
| textAlign | Emplacement horizontal du texte dans la zone où il apparait. | "automatic", "right", "center", "justify", "left" |
| textAngle | Modifies the orientation (rotation) of the text area. | 0, 90, 180, 270 |
| textDecoration | Sets the selected text to have a line running beneath it. | "normal", "underline" |
| textFormat | Controls the way the alphanumeric fields and variables appear when displayed or printed. | "### ####", "(###) ### ####", "### ### ####", "### ## ####", "00000", formats personnalisés |
| textPlacement | Relative location of the button title in relation to the associated icon. | "left", "top", "right", "bottom", "center" |
| threeState | Permet à un objet case à cocher d'accepter un troisième état. | true, false |
| timeFormat | Controls the way times appear when displayed or printed. Must only be selected among the 4D built-in formats. | "systemShort", "systemMedium", "systemLong", "iso8601", "hh_mm_ss", "hh_mm", "hh_mm_am", "mm_ss", "HH_MM_SS", "HH_MM", "MM_SS", "blankIfNull" (peut être combiné avec les autres valeurs possibles) |
| truncateMode | Contrôle l'affichage des valeurs lorsque les colonnes de la list box sont trop étroites pour afficher leur contenu complet. | "withEllipsis", "none" |
| type | Obligatoire. Désigne le type de données de l'objet formulaire. | "text", "rectangle", "groupBox", "tab", "line", "button", "checkbox", "radio", "dropdown", "combo", "webArea", "write", "subform", "plugin", "splitter", "buttonGrid", "progress", "ruler", "spinner", "stepper", "list", "pictureButton", "picturePopup", "listbox", "input", "view" |
| tooltip | Fournit aux utilisateurs des informations supplémentaires sur un champ. | Informations supplémentaires destinées à aider l'utilisateur |
| top | Positionne un objet en haut (centré). | minimum : 0 |
| u | ||
| urlSource | Désigne l'URL chargée ou en cours de chargement par la zone Web associée. | Une URL. |
| useLastFrameAsDisabled | Permet de définir la dernière vignette comme étant celle à afficher lorsque le bouton est désactivé. | true, false |
| userInterface | Interface de la zone 4D View Pro. | "none" (par défaut), "ribbon", "toolbar" |
| v | ||
| values | Liste des valeurs par défaut pour les colonnes de listbox de type tableau | ex : "A","B","42"... |
| variableCalculation | Permet d'effectuer des calculs mathématiques. | "none", "minimum", "maximum", "sum", "count", "average", "standardDeviation", "variance", "sumSquare" |
| verticalAlign | Emplacement vertical du texte dans la zone où il apparait. | "automatic", "top", "middle", "bottom" |
| verticalLineStroke | Définit la couleur des lignes verticales d'une list box (gris par défaut). | Any CSS value, "'transparent", "automatic" |
| visibility | Permet de masquer l'objet dans l'environnement d'application. | "visible", "hidden", "selectedRows", "unselectedRows" |
| w | ||
| webEngine | Permet de choisir entre deux moteurs de rendu pour la zone Web, en fonction des spécificités de l'application. | "embedded", "system" |
| width | Désigne la taille horizontale d'un objet | minimum : 0 |
| withFormulaBar | Gère l'affichage d'une barre de formule avec l'interface Toolbar dans la zone 4D View Pro. | true, false |
| wordwrap | Gère l'affichage du contenu lorsque celui-ci dépasse la largeur de l'objet. | "automatic" (à l'exception de list box), "normal", "none" |
| z | ||
| zoom | Pourcentage de zoom pour l'affichage de la zone 4D Write Pro | numérique (minimum=0) |