Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Good reason to never use form methods
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00415216
Message ID:
00416358
Vues:
32
I understand what you are doing, I feel that it goes against my OOP grain.

You still use proc files and I don't. They both work, but it reminds me of SBT too much. Sorry.

__Stephen




>>The problem is that you were putting the code in the form to begin with. Why not put it in a bizClass instead? Then it is usable in other areas of your app without kick starting the form, and it's DE possibably.
>>
>>__Stephen
>>
>
>Stephen,
> any code that could ever be used in any other part of the program goes into a procedure file. We have to main prgs. the MAIN.PRG that launches the appliation and holds all of our standard company procedures that are used in any app we write and an APP_PRO.PRG file that holds all procedures and functions that would be common to the applicaton. These files are about 100K each in our major product. Code in a form is only used in the form and not needed anywhere else.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform