Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'This.Parent.Property' resolution
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00622707
Message ID:
00622729
Vues:
37
>>>>Add an assign method to the cCaption property and set the caption of the label in this method.
>>>>
>>>>You can also add "this.cCaption=this.cCaption" in the init() of the container (IOW force the assing method).
>>
>>I tried that, but I still get the base class value at design time.
>
>That was a normal behaviour, the code was not interpreted until run time.
>If that bug you, you can create a builder for your class :-)

OK, thanks, I guess I can just use the workaround. The behaviour I'm getting didn't bother me a whole lot ... but it did bother someone else who likes to be able to see what he's working on.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform