Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange inheritance issue
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Strange inheritance issue
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01421040
Message ID:
01421040
Views:
106
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
Next
Reply
Map
View

Click here to load this message in the networking platform