Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can you check if fld has focus?
Message
De
31/01/2001 13:05:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00469743
Message ID:
00470785
Vues:
32
Hi Nick...
works great...thanks for the information....:))

>>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
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform