Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual vs Programmatic Class Definitions
Message
From
27/03/1998 04:13:45
Steve Camsell
Windmill Associates
Bath, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00087575
Message ID:
00087582
Views:
34
>Not sure I got the essence of your posting, but are aware that you can have multiple procedure files open at the same time, allowing you to put each "area of concern" in a separate file?
>
Hi Marc,

Sorry I wasn't clear enough, let me try again. I design all of my classes using the class design tool in Fox. Everything is built visually. To include a custom class with a form, I just drag the class from the project manager and drop it on the form.

My boss on the other hand, creates all of his custom classes in a prg using DEFINE CLASS. He includes these class definitions in his projects by adding a SET PROCEDURE to [prg] in his app. When he requires a custom class on a form, he does a CREATEOBJECT() in the INIT of the form.

I prefer the visual route, he prefers to define his classes manually. My question is, what are the pro's and con's either approach?
Steve Camsell
Development Consultant
Steve.Camsell@Windmill-DBM.Co.Uk
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform