Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom class with DataSession?
Message
From
31/07/2001 15:08:18
 
 
To
31/07/2001 15:00:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00537926
Message ID:
00537950
Views:
11
>>Hi all,
>>
>>Will the Custom class in VFP 7 have a DataSession property? Or will the Session class in VFP 7 accept objects?
>
>What does "accept objects" mean, in this context? I didn't use the Session Class yet. Do you mean, you can't use AddObject() on it?
>

Yes, you cannot use either ADD OBJECT or .AddObject()

>If this is the problem, I think a workaround is very simple. Create objects based on Form. Nobody said you are forced to make this Form visible! By default, it is not. And forms support both a private DataSession, and AddObject().
>

This requires you to have a container class to instantiate the class. Or you'll need a Formset to instantiate it.

>Hilmar.
ramil
~~ learning to stand still
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform