Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encapsulating a DataSession in a customer object?
Message
From
15/04/1999 16:19:44
 
 
To
15/04/1999 16:09:39
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00208751
Message ID:
00208771
Views:
26
>Garret,
>
>Thanks for your quick answer.
>
>I really need to have this as a custom object, not in a form.
>

Base your class on a Form. You can set it to a private data session on visible=.f.

The only difference between this an a custom object other than the ability to have a private datasession within the object would be that would you not be able to drop the form on the form.

You would have to instaniate it programatically perhaps in your VISUAL forms init...

thisform.oDataObj = createobj('MyDataObj')

This is actually how Jim Booth suggest to create Business Objects in his book Advanced tehniques.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform