This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Defaulting the US State ComboBox to one default State
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2007
03:51 PM
Defaulting the US State ComboBox to one default State
I am autopopulating the US state combo box when the country selected is US. But I want the state combobox to always be pre-populated with "ALABAMA" (for alphabetical order).. Here is the code that gets executed when the country selected is US.
ISComboBox state_list = arg0.getISContainer().getComboBoxControl("insite2_state_list"); //Get a handle on the US state list combo box
state_list.getSelectedVariable().setValue("ALABAMA"); //Default it to ALABAMA.
This doesn't work..any thoughts?
Thanks
ISComboBox state_list = arg0.getISContainer().getComboBoxControl("insite2_state_list"); //Get a handle on the US state list combo box
state_list.getSelectedVariable().setValue("ALABAMA"); //Default it to ALABAMA.
This doesn't work..any thoughts?
Thanks
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2007
08:09 AM
Try calling refreshExtendedProperties on the control...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2007
12:55 PM
Thanks, it worked...you have been a great help!