Outils pour utilisateurs

Outils du site


fr:code:windows:inputdialog

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
fr:code:windows:inputdialog [2012/04/26 15:42] wismerhealfr:code:windows:inputdialog [2021/02/13 11:23] (Version actuelle) – modification externe 127.0.0.1
Ligne 259: Ligne 259:
  
 === Arguments === === Arguments ===
-  - decimals - (integer) the number of decimals of floating values+  - decimals - (integer) le nombre de décimales des valeurs à virgule (floating values)
  
-=== Returns === +=== Renvoi === 
-  * (InputDialog) this InputDialog+  * (InputDialog) ce "InputDialog" (dialog d'entrée)
  
 ==== setIntegerStep ==== ==== setIntegerStep ====
-Sets the integer step value.+Définit l'étape d'une valeur "integer" (entier)
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setIntegerStep(step); myObject.setIntegerStep(step);
Ligne 273: Ligne 273:
  
 === Arguments === === Arguments ===
-  - step - (integer) the integer step value+  - step - (integer) l'étape d'une valeur "integer" (entier)
  
-=== Returns === +=== Renvoi === 
-  * (InputDialog) this InputDialog+  * (InputDialog) ce "InputDialog" (dialog d'entrée)
  
 ==== setMaximum ==== ==== setMaximum ====
-Sets the maximum value.+Définit la valeur maximum.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setMaximum(maximum); myObject.setMaximum(maximum);
Ligne 287: Ligne 287:
  
 === Arguments === === Arguments ===
-  - maximum - (mixed) the maximum value+  - maximum - (mixed) la valeur maximum
  
-=== Returns === +=== Renvoi === 
-  * (InputDialog) this InputDialog+  * (InputDialog) ce "InputDialog" (dialog d'entrée)
  
 ==== setMinimum ==== ==== setMinimum ====
-Sets the minimum value.+Définit la valeur minimum.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setMinimum(minimum); myObject.setMinimum(minimum);
Ligne 301: Ligne 301:
  
 === Arguments === === Arguments ===
-  - minimum - (mixed) the minimum value+  - minimum - (mixed) la valeur mimimum
  
-=== Returns === +=== Renvoi === 
-  * (InputDialog) this InputDialog+  * (InputDialog) ce "InputDialog" (dialog d'entrée)
  
 ==== setRange ==== ==== setRange ====
-Sets the minimum and maximum values.+Définit les valeurs minimum et maximum.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setRange(minimum, maximum); myObject.setRange(minimum, maximum);
Ligne 315: Ligne 315:
  
 === Arguments === === Arguments ===
-  - minimum - (mixed) the minimum value +  - minimum - (mixed) la valeur minimum 
-  - maximum - (mixed) the maximum value+  - maximum - (mixed) la valeur maximum
  
-=== Returns === +=== Renvoi === 
-  * (InputDialog) this InputDialog+  * (InputDialog) ce "InputDialog" (dialog d'entrée)
  
 ==== setInputType ==== ==== setInputType ====
-Sets the input type.+Définit le type d'entrée.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setRange(inputType); myObject.setRange(inputType);
Ligne 330: Ligne 330:
  
 === Arguments === === Arguments ===
-  - inputType - ([[#inputtype|InputType]]) the input type+  - inputType - ([[#inputtype|InputType]]) le type d'entrée
  
-=== Returns === +=== Renvoi === 
-  * (InputDialog) this InputDialog+  * (InputDialog) ce "InputDialog" (dialog d'entrée)
  
 ==== setValue ==== ==== setValue ====
-Sets the value.+Définit la valeur.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setValue(value); myObject.setValue(value);
Ligne 344: Ligne 344:
  
 === Arguments === === Arguments ===
-  - value - (mixed) the value+  - value - (mixed) la valeur
  
-=== Returns === +=== Renvois === 
-  * (InputDialog) this InputDialog+  * (InputDialog) ce "InputDialog" (dialog d'entrée)
  
 ==== setItems ==== ==== setItems ====
-Sets the items that can be choosen from.+Définit les éléments à partir desquels le choix peut être fait.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setItems(items); myObject.setItems(items);
Ligne 358: Ligne 358:
  
 === Arguments === === Arguments ===
-  - items - (array) the items that can be choosen from+  - items - (array) les éléments à partir desquels le choix peut être fait
  
-=== Returns === +=== Renvoi === 
-  * (InputDialog) this InputDialog+  * (InputDialog) ce "InputDialog" (dialog d'entrée)
  
 ==== setItemsEditable ==== ==== setItemsEditable ====
-Sets the items as editable.+Définit les éléments comme éditables.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setItemsEditable(itemsEditable); myObject.setItemsEditable(itemsEditable);
Ligne 372: Ligne 372:
  
 === Arguments === === Arguments ===
-  - itemsEditable - (boolean) should the item list be editable+  - itemsEditable - (boolean) la liste des éléments doit-elle être éditable
  
-=== Returns === +=== Renvoi === 
-  * (InputDialog) this InputDialog+  * (InputDialog) ce "InputDialog" (dialog d'entrée)
  
-==== value ==== +==== valeur ==== 
-Returns the value.+Renvoi la valeur.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.value(); myObject.value();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * (mixed) the value+  * (mixed) la valeur
  
 ==== show ==== ==== show ====
-Show the window. (non-blocking+Affiche la fenêtre. (non-bloquant
-Use the [[#onclosed|OnClosed]] event to know when the window has been closed.+Utilise l'évènement [[#onclosed|OnClosed]] pour savoir quand la fenêtre a été fermé.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.show(); myObject.show();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * (InputDialog) this InputDialog+  * (InputDialog) ce "InputDialog" (dialog d'entrée)
  
 ==== showModal ==== ==== showModal ====
-Show the window. (blocking)+Affiche la fenêtre. (bloquant)
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.showModal(); myObject.showModal();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * (integer) the window result (0 means that it has been canceled)+  * (integer) le résultat de la fenêtre (0 signifie que cela a été annulé)
  
-===== Events =====+===== Evènements =====
  
 ==== onClosed ==== ==== onClosed ====
-Called when the window is closed.+Appelé quand la fenêtre est fermée
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.onClosed = function(result) {}; myObject.onClosed = function(result) {};
Ligne 422: Ligne 422:
  
 === Arguments === === Arguments ===
-  - result - (integer) the window result (0 means that it has been canceled)+  - result - (integer) le résultat de la fenêtre (0 signifie que cela a été annulé)
  
 === Example === === Example ===
Ligne 436: Ligne 436:
  
 ==== onValueChanged ==== ==== onValueChanged ====
-Called when the value changes.+Appelé quand la valeur change
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.onValueChanged = function(value) {}; myObject.onValueChanged = function(value) {};
Ligne 454: Ligne 454:
 </code> </code>
  
-===== Attributes =====+===== Attributs =====
  
 ==== title ==== ==== title ====
-The window's title. (string)+Le titre de la fenêtre. (string)
  
 ==== position ==== ==== position ====
-The window'position. ([[en:code:core:point|Point]])+La position de la fenêtre. ([[en:code:core:point|Point]])
  
 ==== opacity ==== ==== opacity ====
-The window's opacity. (float)+L'opacité de la fenêtre. (float)
  
 ==== enabled ==== ==== enabled ====
-The window's enabled status. (boolean)+Le statut d’activité de la fenêtre. (boolean)
  
 ==== visible ==== ==== visible ====
-The window's visible status. (boolean)+Le statut de visibilité de la fenêtre. (boolean)
  
 ==== value ==== ==== value ====
-The window's value. (mixed)+La valeur de la fenêtre. (mixed)
  
 ===== Enumerations ===== ===== Enumerations =====
  
 ==== InputType ==== ==== InputType ====
-The input type.+LE type d'entrée.
  
-=== Values === +=== Valeurs === 
-  Text: text +  Text: texte 
-  Integer: an integer +  Integer: un entier 
-  Float: a floating number (decimal+  Float: un nombre flottant (à décimale
-  Items: a list of items+  Items: une liste déléments
  
 ==== TextEchoMode ==== ==== TextEchoMode ====
-The text echo mode.+Le mode "text echo".
  
-=== Values === +=== Valeurs === 
-  Normal: normal text display +  Normal: affichage normal de texte 
-  NoEcho: do not show the text +  NoEcho: n'affiche pas de texte 
-  Password: show password characters instead of the typed characters +  Password: affiche des caractères de mot de passe à la place des caractères entrés. 
-  PasswordEchoOnEdit: show password characters instead of the typed characters only when editing+  PasswordEchoOnEdit: affiche des caractères de mot de passe à la place des caractères entrés seulement en édition.
fr/code/windows/inputdialog.1335454938.txt.gz · Dernière modification : 2021/02/13 11:23 (modification externe)