Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CPageFrame in cPageFrame error.
Message
De
13/03/2002 12:59:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
CPageFrame in cPageFrame error.
Divers
Thread ID:
00632239
Message ID:
00632239
Vues:
43
Setting aside for the moment why I want a pageframe within a pageframe.. I've run into trouble trying to do so.

TestForm is a BizObj form with ParentPageFrame and SubPageFrame on Page1 of ParentPageFrame.

The form is executed with a DoForm() called from the menu, so I get the following error message:

Error #: 2005
Message: PARENT
Line: 8
Code: loObject = CREATEOBJECT(tcClassName)
Method: doform
Object: smagic.otestbar.otestpopup.otestpad

The error is untrappable, as it fires before the first line of the form.Load. Stepping back into DoForm's CREATEOBJECT(), I can get this information:

Error #: 2005.
Message: Error Loading File - Record number 162. SubPageFrame.Parent : Cannot add SUBPAGEFRAME. Class definition is cyclical
Message(1): loObject = CREATEOBJECT(tcClassName)

Record 162 is SubPageFrame in the VCX.

This error does not occur with the VFP base class pageframes. It will occur even if there are other container levels between the two cPageFrames, either cContainer or VFP pageframe. The page # that SubPageFrame is on does not make a difference. CPageFrame instances do not allow changing of the Page1 or Page2 names - even hacking the cPageFrame baseclass to allow this did not work.

I'm running :
Win 95 4.00.95b
VFP 6.0 SP 3 (7.0 is supposed to be en route..)
Mere Mortals 7.0 beta
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform