>Fast becoming one of my favorite new features in VFP 7 is the
OF clause in DEFINE CLASS. Before this, you had to SET PROC TO SOME_OTHER_PRG before instanciating a subclass that is based on a class in a different PRG file.
>
>Now all you have to do is:
>
>DEFINE Class MySubClass as ParentClassName of PRG_FileName_Where_ParentClass_Is
>
>No more SET PROC TO THE_OTHER_PRG_FILE
That is great. Maybe one day they'll get rid of those goofy VCX/SCX files altogether.
If MS is "listing", here's a clue:
DEFINE CLASS xxx AS ...
OBJECT aaa AS ..
property1
property2
OBJECT bbb AS ...
...
OBJECT aaa AS ..
...
ENDOBJECT
ENDOBJECT
OBJECT ccc AS ...
...
ENDOBJECT
ENDOBJECT
PROC aaa.bbb.Something
...
ENDDEFINE