mbh
04-05-2004, 09:45 AM
On key up/down, the combobox class passes the event up to the component level so that subclassers can catch it. However, it does not send the key code as an argument, so catching the event is of limited value. Is this a bug?
I looked at the code for combobox, and it seems like where you currently have:
<method event="onkeyup">
if ( classroot['onkeyup'] ) classroot.onkeyup.sendEvent();
</method>
should instead read:
<method event="onkeyup" args="key">
if ( classroot['onkeyup'] ) classroot.onkeyup.sendEvent(key);
</method>
Thanks,
Brent
I looked at the code for combobox, and it seems like where you currently have:
<method event="onkeyup">
if ( classroot['onkeyup'] ) classroot.onkeyup.sendEvent();
</method>
should instead read:
<method event="onkeyup" args="key">
if ( classroot['onkeyup'] ) classroot.onkeyup.sendEvent(key);
</method>
Thanks,
Brent