Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More Fun with Assign and Access in VFP6
Message
De
29/07/1998 21:24:27
 
 
À
29/07/1998 12:37:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00122077
Message ID:
00122563
Vues:
19
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform