Passing a keyboard event to an other control?

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top