Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To VCX or Not to VCX
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00457313
Message ID:
00457398
Views:
21
>>>I have noticed in dowloading classes from Rick Strahl's site that he uses code to build his classes. What is the advantage of using DEFINE..ENDDEFINE over the VCX ( or vice versa)? Or does it really matter how classes are built/
>>
>>
>>VCX files also have a tenedency to bloat once you start making changes. Periodically you need to pack them to remove deleted records. This, of course, is never a problem with prg's.
>
>-----------------
>FlashCreative has a new tool out. It's freeware, called the ClassNavigator. It's a bit like the class browser but it works with PRGs. I haven't played with it much, but I like the concept. See www.flashcreative.com

Cool! And in VFP 7.0 there will be the Document View that breaks down a VCX or a PRG by its appropriate function/method names to allow easier navigation, so that may be helpful as well.

I like PRGs for non-visual items. ANother thing to consider is the audience using the class. If you are having newbies use your object, you may want to make it a VCX so that they can just drag a class onto a form and manipulate it visually instead of having to instantiate it in code and set properties there...

Later,
JoeK
Previous
Reply
Map
View

Click here to load this message in the networking platform