Passing a keyboard event to an other control?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a textbox and a listbox and I handle keydown events in the
textbox. I'd like to pass page up/down events to the listbox if the
focus is on the textbox, so that the default handler of the listbox
handles them.

That is I want to be able to scroll the listbox from the keyboard even
if current keyboard focus is on the textbox. How can I do that?

Thanks in advance.
 
Back
Top