Re: VFP 9, Class definition is cyclical error by trw7at
trw7at
Fri May 06 16:13:54 CDT 2005
Michael S. Jensen seemed to utter in
news:#n#RJPnUFHA.1508@tk2msftngp13.phx.gbl:
> "Tim Witort" <trw7at@ixdot.netcomdotcom> wrote in message
> news:Xns964E60B4EB252timwitortwrotethis@207.217.125.201...
>> Michael S. Jensen seemed to utter in
>> news:#yj6g3jUFHA.1796@TK2MSFTNGP15.phx.gbl:
>>
>> > Have a container-class which contains two custom-class pageframes,
>> > one is placed on the others page.
>> >
>> > inputctrl1 <or one of its members>. Parent : Error loading file -
>> > record number 1976. FWPAGEFRAME_B1 <or one of its members>. Parent
>> > : Cannot add FWPAGEFRAME_B1. Class definition is cyclical
>> >
>> > This error occurs when running the application, not during class
>> > editing. With only one instance of the pageframe class in the
>> > container-class the application runs fine. It also works if the
>> > second pageframe is not placed on the other pageframe's page.
>> >
>> > As far as I can tell this does not match:
>> > "You have attempted to specify a class in an ADD OBJECT statement
>> > whose class definition is the same as the class being defined. "
>> >
>> > Any idea's ?
>>
>> So you have a custom pageframe class and you are putting one instance
>> of this pageframe into the page of another instance of it? I have
>> done this many times, so that would not cause the error. There must
>> be something else involved besides that.
>>
>> -- TRW
>> _______________________________________
> Hi Tim
>
> Thx for the feedback.
>
> One posible reason for the problem could be that I'm using a
> custom-page class - will look into that later on. VFP 9 seems to have
> some trouble with this. But for now, the problem was simply solved by
> using another pageframe class.
>
> /MSJ
Ahh... I have not tried this with a custom page class. Just
with a custom pageframe class in VFP6, 7, and 8. Haven't done
anything like that in 9 yet.
-- TRW
_______________________________________
t r w 7
at
i x dot n e t c o m dot c o m
_______________________________________