Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

DropDownList value selected by default?

$
0
0

Hi there,

 

I've got the following DropDownList, but it gets rendered with no options selected. How can I make ''one" the default option for this element?

 

var w, layout;


layout = "dialog {  \    dropdown: DropDownList { \        size: [100,20] \        properties: { \            items: ['one','two','three'] \        } \    } \
}";


w = new Window(layout);
w.show();

 

Thanks


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>