Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set all Gotfocus and LostFocus to
Message
 
 
À
30/03/2005 10:13:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 5.x
Database:
Visual FoxPro
Divers
Thread ID:
00999921
Message ID:
00999930
Vues:
16
>>>Is there a way to change the code in all textbox gotfocus & lostfocus to this.backcolor= etc without going into each one and adding the code?
>>
>>In design mode? If so yes. Get references with aselobj() and use readmethod(),writemethod().
>>Cetin
>Yes this way would be great! Can you give me an example?

The better way would be to use subclassed textbox. This way you'll have to make changes to the parent class only.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform