Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrow Keys Don't Fire When, GotFocus, Click in Grid txtB
Message
De
12/02/2002 12:04:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00618623
Message ID:
00618916
Vues:
27
Chuck,

oops.... now that I figured out why highlighting wasn't working before I can see a boo-boo
IF TYPE("THISFORM.ActiveControl") == "O" AND UPPER(THISFORM.ActiveControl.BaseClass) == "GRID"
*-- If on an active object, and the object is the grid in myForm...
   IF INLIST(LAST(), leftarrow, rightarrow... leftclick...)
      *-- IF the last keys pressed were some of the cursor keys leftarrow, rightarrow... 
      *-- don't forget TAB, SHIFT+TAB as well...
      chucks_keypressevent() && fire the new method we created
   ENDIF
ENDIF
Notice I changed the <> to == on the first line... Sorry.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform