>>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.
I don't know how it happened (even though I checked it yesterday many times) but I added the new property to the class in a different classlib. Both classlib and classes have the same names so it was easily confusing. But I remember when I decided to go this route (having 2 classlib of the same name) our friend SB warned me that it was a bad practice. And he was right.
Thank you for your help.
"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