Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Protected property is italics
Message
De
23/01/2002 22:09:27
 
 
À
23/01/2002 18:49:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00608655
Message ID:
00609501
Vues:
23
No they don't :-), but I agree with Dave now. See my other post. If you create a command button class, and in the click method of the class access a protected property or method of the same class at the same level then drop that button onto a form, the click method fails!

>Dave & David,
>
>Your two statements completely agree with one another...
>
>>>PMJI,
>>>An object on a form can't access a protected property of the form. Only methods in the form class itself can.
>>>Is that the problem?
>>
>>No. An object on the form cannot access its own protected properties. For example, code inside click method cannot access this.protectedproperty.
>>
>>
>>-Dave
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform