-
AHHHHHHHHH! Combo Boxes!
Okay, I need to use the Combo_change event..
However, the style of my Combo box is a Drop Down list, so people can just select the items, instead of editing them.
The .locked property makes it so you can't change your selection, so I had to turn that off..
What can I do if I need to trigger events in a combo_change event, but I don't want to let the users edit the combo?
-
<?>
If you can't edit, you can't change...Change Event???
What are you wanting to happen and why?
-
Well, set a combo box with a style = 3, (list box type)..
Now, when a user changes his selection (maybe from index 0 to index 1), I want to be able to trigger an event.
What can I do?
-
Strange
Try this:
.locked = false
.style = 2
and catch selections with the click, not with the change funtion
-
I thought about the click event.. but it makes no sense..
If they have to scroll down the list, the first click will be misinterpreted, won't it?
-
Also, I can't disable the stupid control when it's style is set to 2..
What's up with this!
-
hm
yeah, could but you cant prevent that if you directly want to catch a change in the list. Then you would have to add a submit button or something like that.
-
Yea, I just did that..
*shrugs*
Thanks guys.