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