Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On key label ?
Message
General information
Forum:
ASP.NET
Category:
Forms
Title:
Miscellaneous
Thread ID:
00752481
Message ID:
00752839
Views:
19
Hi Jim,

The Form class has a KeyPreview property that indicates whether the form will receive key events before the event is passed to the control that has focus. It defaults to false. Turn this property to true and the form should start to receive the keystrokes.

>I have been looking around the .net framework classes trying to find a basic way to implement what we've gotten accustomed to in FoxPro with "On key label" when using an MDI windows form.
>
>
>In my attempts thus far, I can't seem to get the keypress, keydown, or keyup events to fire at the mdi form level.
>
>Any thoughts on how to implement specific hotkey functionality outside of menus and controls would be greatly appreciated.
>
>regards,
>
>Jim Erwin
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform