>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only