cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
afterword
Level IV

Setting Initial Value in Modal Combo Box

I'm trying to request start and end dates from the user through a modal dialogue using the combo box. I'd like 2009 to be selected in the year field by default, but I can't figure out how to accomplish this with the following year list:
years = {"2006", "2007", "2008", "2009"};

When I use
startYear = comboBox(years, <the script is ignored, though this format is interpreted properly in the non-modal framework.

Any ideas for setting a default in the modal dialogue?
0 REPLIES 0