Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hot Key on button and get keypress event howto
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00979867
Message ID:
00979876
Vues:
33
I have found the cause of this behavior, it is descriped on the following website : http://support.microsoft.com/default.aspx?scid=kb;EN-US;843329

Cause:

This property has been changed in Microsoft Windows Server 2003, Microsoft Windows XP, and Microsoft Windows 2000. This is a new feature. These operating systems disable the underline format for the letter key in a keyboard shortcut until you press ALT. When you press ALT, you will notice that the letter key appears correctly.


With Alt + ShortcutKey the button's method gets executed.

Thanks Bonnie.


>Bonnie,
>
>I preceded the S and V character with "&" the buttons in the button's text property, in the form designer the first character gets underlined. Strange thing is when I run the form the underline doesn't show anymore, moreover "ctrl+V" ,"ctrl+ S" don't fire anything.
>
>Do you happen to know if I have to do anything additional or if I am doing something wrong?
>
>Thank you.
>
>
>
>>Zakaria,
>>
>>Precede the S and the V with the "&" character.
>>
>>~~Bonnie
>>
>>
>>>Hello All,
>>>
>>>I have a form with two buttons : "Save" and "View". I want to create Hot keys for these bottons such that if I press on ctrl +s the save button click method gets fired and Ctrl + v the View button click method gets fired.
>>>
>>>How could this be done?
>>>
>>>
>>>Thank you.
Zakaria al Azhar
My blog on Actuaris.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform