Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Benefits to create object -vs- do form
Message
From
23/08/2000 13:19:03
 
 
To
23/08/2000 13:01:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00408330
Message ID:
00408344
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform