Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lightweight Object
Message
From
24/10/2001 07:23:59
 
 
To
24/10/2001 07:01:00
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00572491
Message ID:
00572501
Views:
27
Hi!

Custom class is good to use it to put on the form in design time or add it to form or container in run-time by AddObject/NewObject method.

For run-time, when using just CreateObject() function to create object from your class, it is good to use Relation class.

The best parent, as you see, is depended on certain things:
do you want to use new data session?
do you plan to allow putting objects of that class on the form in design time or in run-time?

For COM server usually Relation object using is enough.

>I´m quite newbie, so I think that non visual classes parent class should be custom object.
>am I wrong?
>Which is best parent object for a class with only some methods and properties?
>This class is going to be a COM Server, does it matter?
>
>Thanks for helping me to learn VFP
>Ibai
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform