Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No lost focus event in grid :-(
Message
De
06/08/1999 14:23:56
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
À
06/08/1999 13:48:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00250792
Message ID:
00250809
Vues:
14
>I need to execute some code when a grid loses focus (I know it's actually a control inside the grid that has the focus). The grid's valid event is fired even when just changing rows or columns. So, how can I tell when the focus leaves a grid (and not just moving between controls within the grid)? I really don't want to have to put my code in the gotfocus of everything else.

Joel,
I don't believe you are correct. The Valid() fires only when you leave. If you are trying to debug, you may be seeing effects of the debugger. If you put a DEBUGOUT PROGRAM() in the Valid(), you'll see it only fires when you leave...which is just what you want.
Charlie
Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform