Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More Fun with Assign and Access in VFP6
Message
From
30/07/1998 01:25:46
 
 
To
29/07/1998 21:24:27
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00122077
Message ID:
00122607
Views:
16
I think so too, Vlad, but the order and heirarchy of what will call what is interesting...and ultimately useful.

>I think that this behavior is like that in order to avoid infinite recursion of Assign and Access calling each other.
>
>Vlad
>
>>Yes.....switched all THISFORMs to THISs and the behavior remained the same.
>>
>>
>>>Is this the same if you use THIS instead of THISFORM?
>>>
>>>Vlad
>>>
>>>>When you have both Access and Assign methods defined for a property, Assign will be fired off from Access, but Access will not be fired from Assign.
>>>>
>>>>So, if you place the command "cCaption=THISFORM.Caption" in the Assign method, Access never fires although it would fire if the code were placed anywhere else in the Form.
>>>>
>>>>However, if you place "THISFORM.Caption='Hi There'" In the Access method, the Assign event does fire.
------------------------------------------------
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