Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Benefits to create object -vs- do form
Message
De
23/08/2000 13:19:03
 
 
À
23/08/2000 13:01:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00408330
Message ID:
00408344
Vues:
18
You will find lot's of strong opinions on this. I prefer classes because:

1 - can subclass form classes
2 - It is more consistent with "object-think" in my opinion
3 - can avoid separate file (2 files) for every form
4 - can put form(s) and other related ojects in one class library
5 - and this will get argued by others - but in my experience, most of the professionals and pro organizations that I have been exposed to and really "know what they are doing" in general, use the class methodollagy. Many of the same view "Do Form" as a rather amateurish technique. Again - you will find some skilled pros who will argue this.

Ken

>Having had no formal training in VFP I find that I use "do form" instead of "create object". However, a lot of the code that other people have written uses "create object". Can anyone briefly show me the benefits of create object over do form
>
>Alan Wyne
>Rollpak Corp
Ken B. Matson
GCom2 Solutions
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform