> Override the ProcessCmdKey method.
>
[quoted text clipped - 14 lines]
> >
> > Is there a trick to this???
It's the responsibility of each window to trab events when it has the focus.
As your user controls get the focus, they will be given the opportunity to
deal with events such as key press and mouse move etc. If you've done
nothing to these controls to handle the events they will just be ignored.
If you have control over the source for these user controls you must build
in the abilities you need or perhaps handle the correct events on the
controls to trap them in the form.

Signature
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
> Thanks Bob - ProcessCmdKey does trap the event on the form but not at the
> UserControl level. Is there anyway to capture the event at the
[quoted text clipped - 24 lines]
>> >
>> > Is there a trick to this???