Attaching event to child controls of UserControl

2011-03-15 Thread Michael Ridland
Hi I need to catch a Control-Enter keyboard input on a UserControl and any of it's children, but it seems only the actual focused control gets the events. So I looked around the net and didn't find a solution. I came up with my own solution, which involved cycling through all the children and

Re: Attaching event to child controls of UserControl

2011-03-15 Thread Jason Keats
Did you try setting the Form's KeyPreview property to True? I would expect a well-behaved UserControl to handle the ParentChanged event. On Tue, Mar 15, 2011 at 5:22 PM, Michael Ridland rid...@gmail.com wrote: Hi I need to catch a Control-Enter keyboard input on a UserControl and any of