Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object source code.
Message
De
22/06/2000 19:46:19
 
 
À
22/06/2000 16:10:03
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00382805
Message ID:
00383525
Vues:
13
Hi Cindy,

Personally, I try to avoid procedure files and put code in the containers of the controls. For example, a Save button calls a Save method in the Form. I guess I don't have a problem with PRGs philosophically, it's just not the way I do it. If I have some big, specialized crunch routine I put it into a session or custom class method and I try to group like functions into these objects.


>Do you have a guideline for deciding whether to put a bunch of number-crunching code in a form class's method or in a procedure library prg?
>
>I'm thinking that even a page or two of code that is only used with that form should be in the form class's method, but I'm used to seeing just one or two lines in the examples.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform