Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application object
Message
De
03/12/1998 16:26:50
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, États-Unis
 
 
À
03/12/1998 14:43:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00163769
Message ID:
00163847
Vues:
27
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform