Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application object
Message
From
03/12/1998 16:26:50
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, United States
 
 
To
03/12/1998 14:43:15
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00163769
Message ID:
00163847
Views:
19
>I have a standard.prg procedure file which contains all of my general >procedures that are not application specific.

simlar topic:
-------------
I've been storing all my common procedures to functions to seperate files, then including them in projects - is there a better way to do this than adding each prg and class to each project?

>The app object then contains only methods that are app specific. But to make >it more complex, but actually easier to implement, the app object is divided >into a base_app and derived app. The base app contains the basic framework I >use for every application. The object derived from base_app is then used for

I do exactly that. I have a base_app in a common library, that stores all my generic code (registry stuff, user authentication stuff, etc) and a subclass of that in my app specific classlib, that sets properties like caption, background, statusbar on/off etc. Then my main.prg is customized for each app do createobject("XXXapp") where XXX is the application name. That seems to work.

Thanks to everyone for the input.

Tim
Previous
Reply
Map
View

Click here to load this message in the networking platform