Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More Fun with Assign and Access in VFP6
Message
From
29/07/1998 21:24:27
 
 
To
29/07/1998 12:37:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00122077
Message ID:
00122563
Views:
20
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform