Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intercepting keystrokes
Message
From
10/06/1998 20:27:56
 
 
To
05/06/1998 20:02:34
David Moreau
Iglesia Ni Cristo - Dnm
Quezon, Philippines
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00105416
Message ID:
00106982
Views:
61
David,

This should work correcly ...
if param1 = the up arrow
    process up arrow
    NODEFAULT
else
   if param1 = the down arrow
      process the down arrow
      NODEFAULT
   else
     baseclass::keypress(param1, param2)
     NODEFAULT && Default will have already been invoked by the baseclass
   endif
endif
If it does not, then there is something in your baseclass.keypress method that is suppressing default key handling.

Unless you need the key handling contained in the baseclass keypress method, simply avoid calling the baseclass method, and the abnormal key handling should go away.

If you need the key handling contained in the baseclass method, inspect the method carefully. It is doing something to suppress TAB and SHIFT-TAB.

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Reply
Map
View

Click here to load this message in the networking platform