Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can you check if fld has focus?
Message
 
À
29/01/2001 11:24:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00469743
Message ID:
00469756
Vues:
24
>In my form I have serveral text flds. I want to check when one of these
>text flds gets focus. any ideas?

Robert, you might try something like this:
IF TYPE("thisform.ActiveControl") = "O"
	IF UPPER(thisform.ActiveControl.Name) = "TEXT5"
		WAIT WINDOW thisform.ActiveControl.Name + " has Focus"
	ENDIF
ENDIF
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform