Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01188182
Message ID:
01188326
Vues:
17
>>>>>Hi all,
>>>>>
>>>>>How can I make difference between CTRL-H and CTRL-Backspace ?
>>>>>both return nKeyCode=127 and nShiftAltCtrl=2
>>>>>
>>>>>I tried to test with nKeyCode with 0x11, but it doesn't work
>>>>>
>>>>>thanks
>>>>
>>>>Check http://news2news.com/vfp/?example=305&function=476&xpg=
>>>
>>>It work, but when I am on a textbox with data, it empty it, even if I have a NODEFAULT in the keyPressed method
>>
>>I'm not sure what exactly is your problem, but check Re: Backspace moves to previous field.. Thread #798825 Message #798844
>>
>>May be you can show us some code in the KeyPress method and tell what are you trying to accomplish.
>
>there is lot of code in the keypressed... Here is what the program should do...
>The customer can define key to programaticaly fill textboxes with data from a table. He can choose CTRL with a letter (CTRL-A, CTRL-B, CTRL-C, etc...) All keys work fine, except CTRL-H that empty the active textbox. I tried to use a NODEFAULT, but it doesn't seems to work.

I still can't figure out why can't you use ON KEY LABEL to block CTRL-BACKSPACE?
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform