|
-
Oct 31st, 2001, 03:13 PM
#1
Thread Starter
New Member
ComboBox reset [Invalid Property Value]
Hello,
I have a form with multiple comboboxes and after I reset the form, I get an "Invalid Property Value" message when I try to click on anything else in the form. I have tried multiple things to track this problem, and it seems to be coming from the reseting of the comboboxes...currently I am using this code to reset it:
foo_combobox.ListIndex = -1
Any help would be appreciated 
Thanks!
-=Biomix
-
Oct 31st, 2001, 03:15 PM
#2
ListIndex - 1 is used in conjugction with ListCount.
If you are setting the ListIndex it should be set to 0
VB Code:
foo_combobox.ListIndex = 0
-
Oct 31st, 2001, 04:36 PM
#3
Thread Starter
New Member
Unfortunately, the .ListIndex = 0 will set it to the first value. -1 is necessary.
I have managed to get the error only when changing pages now...is the attention still on the combobox when changing?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|