Dynamic dropdowns
Hello
I need to creat the content of a dropdowns menu from an array.
But it dont accept "stringList:".
Cane you help me ?
Thanks
My code :
list=[];
for (i = 0; i < 150; i++)
{
list.push ("item"+i)
}
var myDialog = app.dialogs.add({name:"my dialog box", canCancel:true});
with(myDialog){
with(dialogColumns.add()){
with(dialogRows.add()){
var typeDeCharte = dropdowns.add({stringList:
- , selectedIndex:0});
}
}}
myDialog.show();