Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Button Status shifts to the button clicked
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01154360
Message ID:
01154369
Views:
11
>Hi Borislav
>
>>No if you set it to be Default. But you could set Default = .f. for that button and Set KeyPreview = .t. for form and in KeyPress Event of the form put:
>
>It worked, yes and no. I am getting a 10 as key code, can't understand.

My mistake (or MS one, I don't know).
I think in KeyPres you should get the real key value and in addition modifiers, but I think wrong (as you see)
So change the code to:

nKeyCode = 10 AND nShiftAltCtrl = 2
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform