fr:code:windows:inputdialog
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
fr:code:windows:inputdialog [2012/04/26 15:51] – wismerheal | fr:code:windows:inputdialog [2021/02/13 11:23] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 358: | Ligne 358: | ||
=== Arguments === | === Arguments === | ||
- | - items - (array) | + | - items - (array) |
=== Renvoi === | === Renvoi === | ||
Ligne 364: | Ligne 364: | ||
==== 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) | + | - itemsEditable - (boolean) |
- | === Returns | + | === Renvoi |
* (InputDialog) ce " | * (InputDialog) ce " | ||
- | ==== value ==== | + | ==== valeur |
- | Returns the value. | + | Renvoi la valeur. |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.value(); | myObject.value(); | ||
</ | </ | ||
- | === Returns | + | === Renvoi |
- | * (mixed) | + | * (mixed) |
==== show ==== | ==== show ==== | ||
- | Show the window. (non-blocking) | + | Affiche la fenêtre. (non-bloquant) |
- | Use the [[# | + | Utilise l' |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.show(); | myObject.show(); | ||
</ | </ | ||
- | === Returns | + | === Renvoi |
* (InputDialog) ce " | * (InputDialog) ce " | ||
==== showModal ==== | ==== showModal ==== | ||
- | Show the window. (blocking) | + | Affiche la fenêtre. (bloquant) |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.showModal(); | myObject.showModal(); | ||
</ | </ | ||
- | === Returns | + | === Renvoi |
- | * (integer) | + | * (integer) |
- | ===== 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) | + | - result - (integer) |
=== 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: | ||
</ | </ | ||
- | ===== Attributes | + | ===== Attributs |
==== title ==== | ==== title ==== | ||
- | The window' | + | Le titre de la fenêtre. (string) |
==== position ==== | ==== position ==== | ||
- | The window' | + | La position |
==== opacity ==== | ==== opacity ==== | ||
- | The window's opacity. (float) | + | L'opacité de la fenêtre. (float) |
==== enabled ==== | ==== enabled ==== | ||
- | The window' | + | Le statut d’activité de la fenêtre. (boolean) |
==== visible ==== | ==== visible ==== | ||
- | The window' | + | Le statut de visibilité de la fenêtre. (boolean) |
==== value ==== | ==== value ==== | ||
- | The window' | + | La valeur de la fenêtre. (mixed) |
===== Enumerations ===== | ===== Enumerations ===== | ||
==== InputType ==== | ==== InputType ==== | ||
- | The input type. | + | LE type d' |
- | === Values | + | === Valeurs |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
==== TextEchoMode ==== | ==== TextEchoMode ==== | ||
- | The text echo mode. | + | Le mode "text echo". |
- | === Values | + | === Valeurs |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
fr/code/windows/inputdialog.1335455491.txt.gz · Dernière modification : 2021/02/13 11:23 (modification externe)