:: Forum >> Version 2 >>

Combo "onDropdown" event?

I am trying a AW Combo. How can I trigger a "onDropdown" event? I have tried combo.onControlClicked, but it seems only triggered on the combo's textbox clicked. When I click the combo's "dorpdown" button, I like to show up an alert. Could you give me an example?

Thanks
Sunday, April 27, 2008
Try onControlMouseDown or onControlMouseUp. You can also overwrite showPopup() method.
Alex (ActiveWidgets)
Monday, April 28, 2008
I still need the build-in showPopup() method. How can I add some function on it instead of overwriting it?

Thanks,
Monday, April 28, 2008
Save the original showPopup method and call it from your code -

combo.showPopup1 combo.showPopup;
combo.showPopup = function(){
    
alert(123);
    
this.showPopup1();
}
 
Alex (ActiveWidgets)
Tuesday, April 29, 2008



This topic is archived.

Back to support forum

Forum search