Hello,
Here is my problem, after theselection and display, I would deselector resetthe selection.
thank you
var mesCommades = ["Modification du Style", "Supprimer un format", "Utiliser les paramètres de la séléction"]; //ok
var diaGeneral = new Window ("dialog", "Place documents", undefined, {closeButton: false}); diaGeneral.alignChildren = "right"; var mesCommandesGroupe = diaGeneral.add ("group"); mesCommandesGroupe.add ("statictext", undefined, "Commandes: "); var list = mesCommandesGroupe.add ("dropdownlist", [0,0,20,20], mesCommades); list.minimumSize.width = 20;
list.onChange = function () { alert (list.selection.index); list.selection.index = null; // ré-initialisation de la selection }
diaGeneral.show ();
Bonjour,
Voici mon problème, après la sélection et l'affichage, je voudrais désélectionner ou réinitialiser la sélection
Merci