Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6SP5 - Error loading file when modifying a class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00798790
Message ID:
00798928
Vues:
24
Thanks David, no we don't ever hack the vcx, only to try and fix problems and we haven't had any up to now. We haven't done any redefining either. The form has a container on which we have a grid but apart from that there's nothing particularly complex about it all.

>Chris,
>
>Were you hacking the VCX by hand before this error occurred? Have you recently redefined any classes fromthe class browser?
>
>The error specifically is fired if you try to add something other than a Page to a PageFrame or something other than a column to a grid, etc.
>
>AFAIK there's no way to break the proper containership while in one of the VFP designers.
>
>Shape is NOT a container (it does not have an AddObject() method) so nothing can be added to it, did you do something like try to convert from a container class to a shape? ie things that used to be in the container can not be put into a shape.
>
>>Hi - we are getting the following error when attempting to modify a class...
>>
>>"Error loading file - record 1671. Shp1 or one of its members.Parent : Object class is invalid for this container"
>>
>>I have opened the VCX as a table and looked at record 1671, the parent field references a pageframe which I know to be on the form. Everything appears to be the same as any other record for a shape control.
>>I also tried opening the class library in the Class Browser and cleaned the class library.
>>
>>Any ideas as to what causes this and how to fix it would be appreciated.
Chris Maiden
Email
Web
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform