Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cyclical Error when creating object
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01235432
Message ID:
01235436
Views:
28
Can you post your class code here (get it by Class Browser)?

Do you have a reference to itself in the class definition?

>When I create an object from a class, I get the following error:
>
>Error loading file - record number 170
>Pg1 <or one of its members>. Parent: Cannot add PG1. Class definition is cyclical.
>
>
>What does this mean? I have never seen this error before.
>
>I can open the offending class in the class designer. Make changes etc.
>
>But when I try to create the object from this class...
>
>
>
>The above error appears.
>
>I just spent 2 hours creating this base form class, with a pageframe on it and numerous controls on each of the pages.
>
>Any ideas?
>Mike
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform