Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On key label ?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Divers
Thread ID:
00752481
Message ID:
00752839
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform