>Hey all,
>
>I remember seeing a while back a simple class that would let you define
>your own object for data sessions as a non-visual class. Shame on me, I lost the code where I was using it and cant remember how to do it?
>
>I think I remember something about using a form object in it...
>
>Anybody knows where I saw this information? An article somewhere maybe?
>Or maybe someone remember how to do it?
>
>Thanks in advance
>
>Pascal
As of VFP 6, just create a class based on the session base class
from the command window, open a new prg file.
define a class in it like this:
DEFINE CLASS MyClass as session
.
.
.
ENDDEF
you can access this class like:
oClass = newo("MyClass","MyPrg.prg")
Bill Mittenzwey