Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing classloc causes error
Message
From
18/09/1998 13:33:34
 
 
To
18/09/1998 13:04:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00138319
Message ID:
00138338
Views:
22
>>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

Cetin,

The class is based on control and the object causing the error is a label on page 1 of the pageframe in the control.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform