Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing classloc causes error
Message
De
18/09/1998 13:33:34
 
 
À
18/09/1998 13:04:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00138319
Message ID:
00138338
Vues:
23
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform