Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange inheritance issue
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Strange inheritance issue
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01421040
Message ID:
01421040
Vues:
108
Hi,

I don't think I have ever come across this odd thing.

I have a control based on the container class (typical lookup with a textbox and a button).

This control is placed on a form.

Then I went to the classlib (.vcx) where this control is designed and added a custom property (e.g. myprop)

But when I look at the properties of this control on the form I don't see the newly added custom property. I tried to close VFP and open again. But still to no avail. If I drag this container-based control on the form in a new place, the newly placed control has the new property. But the old/existing ones don't inherit the newly added property.

Why doesn't the new property appear on the control on the form?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform