Hi James,
Thought I would let you know, I didn't have to put the subclass in a separate Library. I now have 2 container classes in my base library "cnt" and "cnt3". The 3 reminds me to use it whenever I nest containers 3 levels deep. "cnt3" is just a sub-class of "cnt" with no changes. And my app works fine.
>Glad it worked for you.
>
>>Hi James,
>>
>>That's weird.
>>Just to make sure I did what you suggested.
>>Instead of adding myCntBase to myClass, I subclassed myCntBase to myCntBase2 in a different library. Then I added myCntBase2 to myClass and it works.
>>
>>
>>>Bill
>>>
>>>I ran into this with pageframes the other day. Try creating another container with a different name in another class library for your third container.
>>>
>>>
>>>>I'm using VFP 7.0
>>>>
>>>>I'm creating a class and when I test it I get 'error 2005: .... Class Definition is Cyclical'.
>>>>I don't get "error 1950: Class definition "name" is recursive"
>>>>
>>>>In my help file it says error 2005 is 'Error with "name" - "property": "error"'
>>>>
>>>>I rebuilt the class from scratch.
>>>>As soon as I try to add myContainerBase to the class I get the error.
>>>>I'm trying to nest 3 containers deep, but can't get the 3rd container to work.
>>>>
>>>>I have no trouble puting one container in another, but I can't get the 3rd one to work.
>>>>TIA
Bill Morris