|
|
#1 |
|
Junior Member
Join Date: Dec 2009
Posts: 2
|
I have a droplist in a custom dialog that has several items in ListItems. When the custom dialog is first displayed to the user, nothing is selected in the droplist. This is great and works as designed.
When the user picks something from the droplist, checkboxes on my custom dialog are checked or unchecked, etc. Sometimes the user might like to reset the form to the default settings. I can reset everything on the form, but the stinking droplist. I have a validation section that's run on a custom reset button. I've tried different things but can't seem to make the droplist reset. Here's what I've recently tried with the reset button. code: Any ideas? Last edited by toddmw; 20th January 2010 at 18:33. |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: May 2005
Posts: 119
|
Totally un-researched and off-the-cuff guess:
If one of those zeros is the list index, I think that the unselected list index is -1. Try setting the index value to that. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Dec 2009
Posts: 2
|
I did a little research and found that I needed to use Combobox controls.
This seems to do the trick. code: |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|