Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Life is Beautiful for PRG Based Classes
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Life is Beautiful for PRG Based Classes
Miscellaneous
Thread ID:
00524299
Message ID:
00524299
Views:
63
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
Mark McCasland
Midlothian, TX USA
Next
Reply
Map
View

Click here to load this message in the networking platform