Aller au contenu principal
Version: v20 R4 BETA

Form object JSON property list

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 - j - k - l - m - n - p - r - s - t - u - v - w - z

PropriétéDescriptionValeurs possibles
a
actionUne action à exécuter.Nom d'une action standard valide.
allowFontColorPickerPermet d'afficher le sélecteur de polices système ou le sélecteur de couleurs pour modifier les attributs d'un objettrue, false (par défaut)
alternateFillPermet de définir une couleur d'arrière-plan différente pour les lignes / colonnes impaires dans une list box.Toutes les valeurs css; "transparent"; "automatic"; "automaticAlternate"
automaticInsertionPermet 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
booleanFormatIndique seulement deux valeurs possibles.true, false
borderRadiusLa valeur du rayon d'arrondi pour les rectangles à coins arrondis.minimum : 0
borderStylePermet de définir un style standard pour la bordure de l'objet."system", "none", "solid", "dotted", "raised", "sunken", "double"
bottomPositionne un objet en bas (centré).minimum : 0
c
choiceListAssocie une énumération à un objetUne énumération
classUne 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
columnCountNombre de colonnes.minimum: 1
colonnesUne collection de colonnes list boxCollection d'objets colonne avec des propriétés de colonnes définies
contextMenuFournit à l'utilisateur l'accès à un menu contextuel standard dans la zone sélectionnée."automatic", "none"
continuousExecutionIndique s'il faut exécuter non la méthode d'un objet pendant que l'utilisateur suit le contrôle.true, false
controlTypeIndique 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)
currentItemSourceLe dernier élément sélectionné dans une list box.Expression d'objet
currentItemPositionSourceLa position du dernier élément sélectionné dans une listbox.Expression numérique
customBackgroundPictureDé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".
customBorderXDé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
customBorderYDé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
customOffsetDéfinit une valeur d'offset personnalisée en pixels. Doit être utilisé avec l'option "Personnalisé" de la propriété "Style".minimum : 0
customPropertiesProprié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.A 4D variable, field name, or an arbitrary complex language expression.
dataSourceTypeHint (objects)
dataSourceTypeHint (list box column, drop-down list)
Indique le type de variable."integer", "boolean", "number", "picture", "text", date", "time", "arrayText", "arrayDate", "arrayTime", "arrayNumber", "collection", "object", "undefined"
dateFormatControls 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)
defaultButtonModifies a button's appearance in order to indicate the recommended choice to the user.true, false
defaultValueDefines a value or a stamp to be entered by default in an input objectChaîne ou "#D", "#H", "#N"
deletableInListIndique si l’utilisateur peut supprimer des sous-enregistrements dans un sous-formulaire listetrue, 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
affichageThe object is drawn or not on the form.true, false
doubleClickInEmptyAreaActionAction 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"
dpiScreen resolution for the 4D Write Pro area contents.0=automatic, 72, 96
draggingEnables dragging function."none", "custom", "automatic" (hors énumération, list box)
droppingEnables dropping function."none", "custom", "automatic" (hors énumération, list box)
e
saisissableIndicates whether users can enter values into the object.true, false
enterableInListIndicates whether users can modify record data directly in the list subform.true, false
entryFilterAssociates 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
eventsListe de tous les événements sélectionnés pour l'objet ou le formulaireCollection de noms d'événements, ex : ["onClick","onDataChange"...].
excludedListAllows setting a list whose values cannot be entered in the column.Une liste de valeurs à exclure.
f
border-styleDéfinit la couleur de fond d'un objet.Any CSS value, "transparent", "automatic"
focusableIndicates whether the object can have the focus (and can thus be activated by the keyboard for instance)true, false
fontFamilySpecifies the name of font family used in the object.Nom d'une famille de police CSS
fontSizeSets the font size in points when no font theme is selectedminimum : 0
fontStyleLe texte sélectionné est légèrement penché vers la droite."normal", "italic"
fontThemeSets the automatic style"normal", "main", "additional"
fontWeightLe texte sélectionné est plus foncé et plus épais."normal", "bold"
footerHeightUsed to set the row heightpositive decimal + px | em
frameDelayPermet de parcourir le contenu du bouton d'image à la vitesse spécifiée (en graduations).minimum : 0
g
graduationStepMesure de l'affichage de l'échelle.minimum : 0
h
headerDefines the header of a list box columnObject with properties "text", "name", "icon", "dataSource", "fontWeight", "fontStyle", "tooltip"
headerHeightUsed to set the row heightpositive decimal + px | em
heightDesignates an object's vertical sizeminimum : 0
hideExtraBlankRowsDeactivates the visibility of extra, empty rows.true, false
hideFocusRingHides the selection rectangle when the object has the focus.true, false
hideSystemHighlightUsed to specify hiding highlighted records in the list box.true, false
highlightSetstringName of the set.
horizontalLineStrokeDéfinit la couleur des lignes horizontales dans une list box (gris par défaut).Any CSS value, "'transparent", "automatic"
i
icôneThe pathname of the picture used for buttons, check boxes, radio buttons, list box headers.Chemin relatif ou filesystem en syntaxe POSIX.
iconFramesSets the exact number of states present in the picture.minimum: 1
iconPlacementDésigne l'emplacement d'une icône par rapport à l'objet formulaire."aucun", "gauche", "droite"
imageHugsTitleDefines whether the title and the picture of the button should be visually adjoined.true (default), false
k
keyboardDialectTo associate a specific keyboard layout to an input.A keyboard code string, e.g. "ar-ma"
l
labelsA list of values to be used as tab control labelsex: "a", "b, "c", ...
labelsPlacement (objects)
labelsPlacement (tab control)
Indique l'emplacement du texte d'un objet."none", "top", "bottom", "left", "right"
layoutModeMode for displaying the 4D Write Pro document in the form area."page", "draft", "embedded"
leftPositions an object on the left.minimum : 0
list, see choiceListA list of choices associated with a hierarchical listUne énumération
listboxTypeThe list box data source."array", "currentSelection", "namedSelection", "collection"
listFormList 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
lockedColumnCountNumber of columns that must stay permanently displayed in the left part of a list box.minimum : 0
loopBackToFirstFrameLes images sont affichées en boucle continue.true, false
m
maxThe 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)
maxWidthDesignates the largest size allowed for list box columns.minimum : 0
metaSourceA meta object containing style and selection settings.An object expression
methodLe nom d'une méthode projet.Le nom d'une méthode projet existante
methodsAccessibilityWhich 4D methods can be called from a Web area"none" (par défaut), "all"
minThe 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)
minWidthDesignates the smallest size allowed for list box columns.minimum : 0
movableRowsAutorise le déplacement des lignes pendant l'exécution.true, false
multilineHandles multiline contents."yes", "no", "automatic"
n
nameThe name of the form object. (Optional for the form)Any name which does not belong to an already existing object
numberFormatControls the way the alphanumeric fields and variables appear when displayed or printed.Numbers (including a decimal point or minus sign if necessary)
p
pictureThe pathname of the picture for picture buttons, picture pop-up menus, or static picturesChemin relatif ou chemin du système de fichiers dans la syntaxe POSIX, ou "var:\<variableName>" pour la variable image.
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)
placeholderGrays out text when the data source value is empty.Text to be grayed out.
pluginAreaKindDescribes the type of plug-in.The type of plug-in.
popupPlacementAllows displaying a symbol that appears as a triangle in the button, which indicates that there is a pop-up menu attached."None", Linked", "Separated"
printFramePrint mode for objects whose size can vary from one record to another depending on their contents"fixed", "variable", (sous-formulaire uniquement) "fixedMultiple"
progressSourceA 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
radioGroupEnables radio buttons to be used in coordinated sets: only one button at a time can be selected in the set.Radio group name
requiredListAllows setting a list where only certain values can be inserted.Une liste de valeurs obligatoires.
resizableDesignates if the size of an object can be modified by the user."true", "false"
resizingModeSpecifies if a list box column should be automatically resized"rightToLeft", "legacy"
rightPositions an object on the right.minimum : 0
rowControlSourceA 4D array defining the list box rows.Tableau
rowCountSets 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.
rowHeightSets the height of list box rows.CSS value unit "em" or "px" (default)
rowHeightAutoboolean"true", "false"
rowHeightAutoMaxDesignates the largest height allowed for list box rows.CSS value unit "em" or "px" (default). minimum : 0
rowHeightAutoMinDesignates the smallest height allowed for list box rows.CSS value unit "em" or "px" (default). minimum : 0
rowHeightSourceAn 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
saveAs (list box column)
saveAs (drop-down list)
The type of contents to save in the field or variable associated to the form object"value", "reference"
scrollbarHorizontalA tool allowing the user to move the viewing area to the left or right."visible", "hidden", "automatic"
scrollbarVerticalA tool allowing the user to move the viewing area up or down."visible", "hidden", "automatic"
selectedItemsSourceCollection of the selected items in a list box.Collection expression
selectionMode (hierarchical list)
selectionMode (list box)
selectionMode (subform)
Allows the selection of multiple records/rows."multiple", "single", "none"
shortcutAccelSpecifies the system to use, Windows or Mac.true, false
shortcutAltDesignates the Alt keytrue, false
shortcutCommandDesignates the Command key (macOS)true, false
shortcutControlDesignates the Control key (Windows)true, false
shortcutKeyThe 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]"
shortcutShiftDesignates the Shift keytrue, false
showFootersDisplays or hides column footers.true, false
showGraduationsAffiche/masque les graduations à côté des étiquettes.true, false
showHeadersDisplays or hides column headers.true, false
showHiddenCharsAffiche/masque les caractères visibles.true, false
showHorizontalRulerDisplays/hides the horizontal ruler when the document view is in Page view modetrue, false
showHTMLWysiwygEnables/disables the HTML WYSIWYG viewtrue, false
showPageFramesDisplays/hides the page frame when the document view is in Page view modetrue, false
showReferencesAffiche toutes les expressions 4D insérées dans le document 4D Write Pro comme référencestrue, false
showSelectionKeeps the selection visible within the object after it has lost the focustrue, false
showVerticalRulerDisplays/hides the vertical ruler when the document view is in Page view modetrue, false
singleClickEditEnables direct passage to edit mode.true, false
sizingXSpecifies if the horizontal size of an object should be moved or resized when a user resizes the form."grow", "move", "fixed"
sizingYSpecifies if the vertical size of an object should be moved or resized when a user resizes the form."grow", "move", "fixed"
sortableAllows sorting column data by clicking the header.true, false
spellcheckActivates the spell-check for the objecttrue, false
splitterModeLorsqu'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"
startPointStarting point for drawing a line object (only available in JSON Grammar)."bottomLeft", topLeft"
staticColumnCountNumber of columns that cannot be moved during execution.minimum : 0
stepIntervalle 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
storeDefaultStyleStore the style tags with the text, even if no modification has been madetrue, 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"
strokeDashArrayDécrit le type de ligne en pointillé comme une séquence de points noirs et blancsNumber array or string
strokeWidthDésigne l'épaisseur d'une ligne.An integer or 0 for smallest width on a printed form
stylePermet 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"
styledTextPermet d'utiliser des styles spécifiques dans la zone sélectionnée.true, false
switchBackWhenReleasedAffiche 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
switchContinuouslyPermet à 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
switchWhenRolloverModifie 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
tableLa table à laquelle appartient le sous-formulaire Liste (le cas échéant).Nom de table 4D, ou ""
textLe titre de l'objet formulaireTout type de texte
textAlignEmplacement horizontal du texte dans la zone où il apparait."automatic", "right", "center", "justify", "left"
textAngleModifies the orientation (rotation) of the text area.0, 90, 180, 270
textDecorationSets the selected text to have a line running beneath it."normal", "underline"
textFormatControls the way the alphanumeric fields and variables appear when displayed or printed."### ####", "(###) ### ####", "### ### ####", "### ## ####", "00000", custom formats
textPlacementRelative location of the button title in relation to the associated icon."left", "top", "right", "bottom", "center"
threeStateAllows a check box object to accept a third state.true, false
timeFormatControls 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" (can be combined with the other possible values)
truncateModeControls the display of values when list box columns are too narrow to show their full contents."withEllipsis", "none"
typeObligatoire. 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"
tooltipFournit aux utilisateurs des informations supplémentaires sur un champ.Informations supplémentaires destinées à aider l'utilisateur
topPositionne un objet en haut (centré).minimum : 0
u
urlSourceDésigne l'URL chargée ou en cours de chargement par la zone Web associée.Une URL.
useLastFrameAsDisabledPermet de définir la dernière vignette comme étant celle à afficher lorsque le bouton est désactivé.true, false
userInterfaceInterface de la zone 4D View Pro."none" (par défaut), "ribbon", "toolbar"
v
valuesListe des valeurs par défaut pour les colonnes de listbox de type tableauex : "A","B","42"...
variableCalculationPermet d'effectuer des calculs mathématiques."none", "minimum", "maximum", "sum", "count", "average", "standardDeviation", "variance", "sumSquare"
verticalAlignEmplacement vertical du texte dans la zone où il apparait."automatic", "top", "middle", "bottom"
verticalLineStrokeDéfinit la couleur des lignes verticales d'une list box (gris par défaut).Any CSS value, "'transparent", "automatic"
visibilityPermet de masquer l'objet dans l'environnement d'application."visible", "hidden", "selectedRows", "unselectedRows"
w
webEnginePermet de choisir entre deux moteurs de rendu pour la zone Web, en fonction des spécificités de l'application."embedded", "system"
widthDésigne la taille horizontale d'un objetminimum : 0
withFormulaBarGère l'affichage d'une barre de formule avec l'interface Toolbar dans la zone 4D View Pro.true, false
wordwrapManages the display of contents when it exceeds the width of the object."automatic" (à l'exception de list box), "normal", "none"
z
zoomPourcentage de zoom pour l'affichage de la zone 4D Write Pronumérique (minimum=0)