Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 Tip-o-the-day
Message
De
17/07/1998 10:22:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00118474
Message ID:
00118589
Vues:
16
Hi Jim ----

>One real world use would be to fire an AddProperty() call if needed. You may have a form that may or may not have an object reference for utilities. The utilities mnay not be called that often. With THIS_Access you can wait until something asks for the object reference and add the property and create the object in the THIS_Access method.

Yeah, I saw the Solutions example where the property was added. I also wrote a form using THIS_ACCESS, Caption_Access, and Caption_Assign. The firing order was:

THIS_ACCESS,Caption_Access,THIS_ACCESS,Caption_Assign

Interestingly, there was no infinite recursion even though Access assigned a value and Assign set a variable (x=THISFORM.Caption).
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform