Hi

A simple question:

I have a form with a ListBox and a RichTextBox. The user selects the
list box and types some characters. I am trapping KeyPress events on
the list box, and want to simulate having the rich text box receive
that key press, so that the characters would also appear in the text
box. I don't want to alter the text of the text box programatically
with SelectedText=, because the text box is also taking care of the
effect of backspace and other key presses.

I believe that if one control contains another, the event is passed up
the container hierarchy until it is handled, so I could set
Enabled=false. But how can I transfer the event between peer
controls, and can this be done in managed code?

Many thanks for your help,

James Carlyle