Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut button on the keyboard gives me a Y kind of cha
Message
De
22/09/2006 13:03:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01155370
Message ID:
01156538
Vues:
29
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all
>
>When I tried the Shortcut button on the keyboard in my app I get a accented Y character in the textbox. The right-click works well and provides me with the shortcut menu.
>
>Is there anything special I have to do to achieve the shortcut menu using the keyboard, or is something amiss in my app?

Let me guess: your textbox has a format property, 99% shure is "!"

Remove the format property and try again, no error now?

Workaround: in the KeyPress event of the textbox, "eat" the keypress with a nodefault:
Lparameters nKeyCode, nShiftAltCtrl
If m.nKeyCode = 93 And m.nShiftAltCtrl = 1 Then
	*!* call menu here
	Nodefault
Endif
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform