Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Life is Beautiful for PRG Based Classes
Message
From
27/06/2001 15:25:16
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00524299
Message ID:
00524380
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform