Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When to use classes in the proj dir and the mmortals dir
Message
 
To
11/10/2001 20:18:45
Paul Williamson
Williamson Enterprises, Inc.
Livingston, Montana, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00567341
Message ID:
00567364
Views:
14
Hi Paul,

Before you say a word, I don't live here, but every time I've taken a break during the past couple of days there has been a message from you. ;-)

Take a look at the sample app and you will get a few hints on directories and locations of libraries.

I believe that the "c" and "k" libraries all live under common30. The "a" libraries are specific to your application and they should be in libraries in \yourapp\libs\

Let's get a bit proactive and less theoric here, why don't you tell us what classes you're thinking of subclassing and then we can probably give you better guidance as to whether it would be a good idea or not and any pointers we might think of. Also, if you tell us WHY you're thinking of subclassing a specific class, even better!

I think that this would be a better approach than to try to come up with generic rules on how to subclass, when, where, etc.

In my case, for example, I have some classes that I sub-classed, and others that I modified directly (i.e. forms). As you can see, there is no clear-cut rule.

BTW, a very good friend of mine is a fishing addict and I think he does go to montana every year. Want me to get him in touch with you?

Regards,

Alex

>Hi,
>
>When do I use the classes (forms, controls, bizobj, DE...) that the Qstart utility created for the project (and got installed in the proj dir)? When do I use the ones in the mmortals directory (and which ones? Common30, Generic,..)?
>
>I am asking because the jumpstart document specifically mentions to use the cforms library in the mmortals\common30\libs directory (cBizObjMaintanceForm) when building the test form, but that also exists in the testapp directory. But, when it comes to controls, etc... no directory is specified.
>
>It's undocumented basic things like this that are keeping me from getting up to speed with the framework (if the dev guide had a better walk-through on subclassing the framework and using the generic project, that would have been beneficial).
>
>You know, I am also a fly fishing guide and outfitter here in Montana and have been fly fishing for almost 30 years. Since I have been doing it so long, I guess once in a great while I forget to instruct my clients on the basics (like how to tie a fly on) :-)
>
>Thanks,
>
>-paul
Low-carb diet not working? Try the Low-food diet instead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform