Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Tip-o-the-day
Message
From
17/07/1998 10:22:53
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00118474
Message ID:
00118589
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform