fr:code:windows:messagebox
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:messagebox [2012/05/03 14:56] – wismerheal | fr:code:windows:messagebox [2021/02/13 11:23] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 42: | Ligne 42: | ||
var myObject = new MessageBox({ | var myObject = new MessageBox({ | ||
title: "Press yes or no", | title: "Press yes or no", | ||
- | icon: MessageBox.Warning | + | icon: MessageBox.Warning, |
buttons: MessageBox.Yes | MessageBox.No | buttons: MessageBox.Yes | MessageBox.No | ||
}); | }); | ||
Ligne 377: | Ligne 377: | ||
- Close: un bouton " | - Close: un bouton " | ||
- Discard: un bouton " | - Discard: un bouton " | ||
- | - Apply: | + | - Apply: |
- | - Reset: | + | - Reset: |
- | - RestoreDefaults: | + | - RestoreDefaults: |
- | - Help: a " | + | - Help: un bouton |
- | - SaveAll: | + | - SaveAll: |
- | - Yes: a " | + | - Yes: un bouton |
- | - YesToAll: | + | - YesToAll: |
- | - No: a " | + | - No: un bouton |
- | - NoToAll: | + | - NoToAll: |
- | - Abort: | + | - Abort: |
- | - Retry: | + | - Retry: |
- | - Ignore: | + | - Ignore: |
- | - NoButton: | + | - NoButton: |
=== Notes === | === Notes === | ||
- | This is a flag enumeration, this means that you can use multiple values using the | operator. | + | Ceci est une énumération d' |
Example : | Example : | ||
<code javascript> | <code javascript> | ||
- | myObject.setButtons(MessageBox.Yes | MessageBox.Save); | + | myObject.setButtons(MessageBox.Yes | MessageBox.Save); |
</ | </ | ||
==== Icon ==== | ==== Icon ==== | ||
- | An icon. | + | Un icône. |
- | === Values | + | === Valeurs |
- | - NoIcon: | + | - NoIcon: |
- | - Question: | + | - Question: |
- | - Information: | + | - Information: |
- | - Warning: | + | - Warning: |
- | - Critical: | + | - Critical: |
fr/code/windows/messagebox.1336056988.txt.gz · Dernière modification : 2021/02/13 11:23 (modification externe)