Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange inheritance issue
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01421040
Message ID:
01421065
Views:
67
This message has been marked as a message which has helped to the initial question of the thread.
>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?

1. Are you sure you added a public property?

2. Are you sure the forms use the control from the exact library and the exact control you changed? You can open the form as a table and verify class and classloc locations to be sure.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform