Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find out the control focus is jumping to?
Message
De
17/12/2008 14:34:05
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to find out the control focus is jumping to?
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01368256
Message ID:
01368256
Vues:
62
Hi,

In the LostFocus event of a TextBox, I plan to code actions depend on the next control who is receiving focus.

Something like:
If <control receving focus is control A or contrl B> then
   do nothing
else
   populate a listbox with values
endif
I am aware that if control A's when event returns .F. then the jump of focus to it will fail, but in my case I am not interested in what will be the outcome of the focus switch, I just need to know where the focus is heading...

Is there a way I can find out which control VFP is attempting to set focus to?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform