Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extra classes - where should we save them?
Message
 
 
À
09/06/2009 13:29:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual ProMatrix
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01404595
Message ID:
01404746
Vues:
26
>>Hi everybody,
>>
>>I want to save several controls into a container based class. My question is - which library should I use for this? Can I use proCtrls for this or should I create a different library and if yes, what would be the best name for it?
>>
>>Thanks in advance.
>
>I use separate classes for my own controls: One for project-specific controls that inherit from ProCtrls, and one for generic controls that inhert from VPMCtrls. This will keep a better separation between the framework classes and your own, and may save your hide if the framework is ever updated (which, however, by now seems unlikely as we are dealing with a dying breed...)

Thanks, should it be something like AppNameCtrls ?

I saved them in ProCtrls for now - if I instantiate a new object of this class in run-time - would the library be automatically (by the framework) be in set classlib or I have to specify it in run-time?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform