Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Framework subclassing strategies
Message
From
10/10/2001 07:30:43
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
09/10/2001 17:29:11
Paul Williamson
Williamson Enterprises, Inc.
Livingston, Montana, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00563848
Message ID:
00566326
Views:
13
Paul,

Redefine means to change the parent class of a subclass. This is done via the Class Browser with the Redefine button, the second button from the right, and find the new parent class.

To reset the PATH, you will have to copy the SETUP.PRG from the COMMON30\PROGS directory to the Generic PROGS directory. Next remove this program from the Generic project and replace it with the Generic\progs version. Edit SETUP.PRG and search for the line containing SET PATH TO. Add your WCOMMONPATH code to look like the COMMONPATH parts of this command.

Edit APPINCL.H. Where the COMMONPATH line is, add WCOMMONPATH line with the path to your WCOMMON directory.

Recompile your app

HTH

Rex
>Hi Alex!
>
>Almost all clear! Thanks. Just a couple last questions:
>
>>>> I redefine it from the "C" or "K" class to my "R" class. You will also need to add the "RCOMMON" directories to your search path and add the "R" classes to your project.
>><<
>>
>>Won't the Qstart utility add these?
>
>>>>>I don't think so because I doubt it expects to find more than what's included in the framework as you "take it out of the box".
><<<<
>
>What does "redefine it from the C or K class to my R Class" mean?
>
>How do I add the RCOMMON (WCOMMON here) to my search path (what is the search path)?
>
>Thanks!
>
>-paul w
>
>
>
>
>
>>>
>Good luck!
>Alex
><<
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform