Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object session
Message
From
19/03/2002 10:47:36
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
 
To
19/03/2002 10:36:00
Roman Segaud
Laboratoires Fortepharma
Nice, France
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00634475
Message ID:
00634481
Views:
17
Hi Roman,
Write at session class with a Create method. Use the Create method to create your custom class. (An object always uses the data session it was created in.)
oSession = NEWOBJECT("mysession", "Sessionbase.PRG")
oCustom = oSession.Create("YourCustomClass", "ClassLib.PRG")
Now oCustom is based on the Custom baseclass and is in it's own DS.

http://home.kscable.com/cschreiner/OutFoxed16.html

>Hi all,
>
>How to create a visual class object based on session type like custom ?
>
>Roman
Charlie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform