-
Is there anyone of you who tried to use the Change event of the ComboBox. It doesn't work !! :mad:
I don't know when this event is active ??? :confused:
However, I found another event which does the same thing : Click. So for everyone who tried to use the Change event and didn't succed to use it, try the Click event! :)
Bye, Talk you soon.
[Edited by (B2F)Tom on 08-16-2000 at 08:03 AM]
-
It does work, but is used differently with the different "Style"s of a combobox. Try changing the style to "1 - SimpleCombo" and using the change event.
Toot
-
The change event is for use when your combo box is in the style 0 or 1.
The event then works like a textboxes change event.
-
Yes. The Change event is not fired when you click on an item in the list but only when the user types in a value.
-
If you want an event to fire when you move your mouse over the items, you would have to SubClass the ComboLBox.
-
If you want code to run when a user selects an item from the list use the combobox click event.
-
All right !
Thanks to all of you :)
I made a misktake, i thought when you click on another value in the list of the CB, the value was "change" so i wanted to use the change event. However, this kind of thing is done with the Click event. ;)
Now, i know the change event is set when you "type" a value in a Style 1 CB. :)
Thanks to all again. I learn one more thing today about VB ! :D
Talk you soon...