Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: ron philippo
  Where is ron philippo?
 Hillegom
 Netherlands
 ron philippo
 To: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 Tags
Subject: RE: pageframe and cyclical error
Thread ID: 189160 Message ID: 189227 # Views: 3 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Errors & Debugging
Date: Wednesday, August 13, 2008 11:25:00 PM         
   


> > i create a form class, name fm_test1
> > I put on it a pageframe object, name pgf_test1
> > and i put inside on page1 of pgf_test1, another pageframe object name pgf_test2
> >
> > Now when i try to instantiate the form with
> >
lofm_test1 = newobject("fm_test1","classlib1.vcx")
i get the following error message with "error loading file - record number 43. pgf_test2 or one of its members. Parent : Cannot add pgf_test2. Class definiton is cyclical".
> >
> > when i create a form with a .scx extension and i put these 2 pageframe
> > objects on it, i have no problem.
> >
> > somebody recognize this behaviour?
>
> As far as I know, it is a bug since at least VFP6:
>
> https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=123688
> http://www.themssforum.com/ExchangeFox/Class-definition-211100/
>
>
> Best Wishes,
>
> Yuri Rubinov

Thank u for ur answer, Yuri

I put the second pageframe already in a container and the form runs fine now.

ENTIRE THREAD

pageframe and cyclical error Posted by ron philippo @ 8/13/2008 3:16:15 PM
RE: pageframe and cyclical error Posted by Yuri Rubinov @ 8/13/2008 9:08:14 PM
RE: pageframe and cyclical error Posted by ron philippo @ 8/13/2008 11:25:00 PM