General information
Category:
The Mere Mortals Framework
Title:
CPageFrame in cPageFrame error.
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only