Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DEFINE CLASS in DEFINE CLASS
Message
 
 
To
04/09/2002 09:54:57
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00696588
Message ID:
00696593
Views:
11
An article PRB: ADD OBJECT Syntax Error from Browser Code Snippet mskb #Q156506 explains why code generated by Class Browser may generates errors when it's run. VFP doesn't support DEFINE CLASS in DEFINE CLASS so you cannot define and add objects at the same time.

>I have question about DEFINE CLASS in DEFINE CLASS.
>
>I have seen this code in “Special Edition Using Visual FoxPro 6.0”.
>It is Listing 15.2. in Chapter 15.
>
>This code is exported from Class Browser.
>I am confused how in this code exist DEFINE CLASS in DEFINE CLASS?
>
>I have ADD OBJECTS in my Container Class but there is no DEFINE CLASS of those class from which I have added objects. I must first to create them separately and then add them to my container.
>
>My question is how to (using Class Designer) add objects with first DEFINE CLASS (not adding from separately defined class in class library)?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform