>I'm trying to bring an old class over to a new project. This new project has new and improved base classes so I've hacked the vcx to replace the CLASSLOC field to point to the new classes.
>
>After doing this and then attempting to modify the class I get the error:
>
>Error loading file - rcd #27 lblCustomerName
.Parent: Object class is invalid for this container.
>
>The object being referenced is in a pageframe and that seems to be the rub because I get a similar error when I attempt to hack an .SCX which also has a pageframe on it. On that form the error is identical to the above error in that it's pointing to a record of an object that is on the pageframe.
>
>I've done this successfully before with other forms and classes and have see other threads where this technique is suggested. Can anyone tell me what the above error is trying to tell me and what the remedy might be?
>
>Thanks.
Jeff,
What type of class is it and parent ? ie: a grid cannot be parent to a label.
Cetin