Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intercepting keystrokes
Message
De
10/06/1998 20:27:56
 
 
À
05/06/1998 20:02:34
David Moreau
Iglesia Ni Cristo - Dnm
Quezon, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00105416
Message ID:
00106982
Vues:
62
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform