Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing classloc causes error
Message
De
18/09/1998 13:04:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
18/09/1998 13:00:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00138319
Message ID:
00138322
Vues:
21
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform