good afternoon,
when a listbox has a focus and you press F4, the listbox will pop up open automatically. How can I simulate this. In short, instead of using F4, I want to use F1 to open up a box. I understand that you need to cancel out the predefined event by the document object --> document.onHelp. I manage to "silence" this action already by adding return false to the event.keycode event so that when a user presses F1, help window won't come up.
Again, how can I use F1 to "simulate" the F4 key.
thanks
when a listbox has a focus and you press F4, the listbox will pop up open automatically. How can I simulate this. In short, instead of using F4, I want to use F1 to open up a box. I understand that you need to cancel out the predefined event by the document object --> document.onHelp. I manage to "silence" this action already by adding return false to the event.keycode event so that when a user presses F1, help window won't come up.
Again, how can I use F1 to "simulate" the F4 key.
thanks