Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting field presence in dbf
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01244177
Message ID:
01245777
Views:
59
>>Oh, yeah and the VCX is an atom too. IMO a vcx should contain 1 class with rare exceptions.
>
>Well, I don't do that. What are the benefits of this, in your opinion? I know one would simply be that when using the class in an app, you can use the only one you need and not bring along a bunch of unneeded code, but what other advantages do you see? I might do that in some situations, but for something like the subclassing of the VFP base classes, I can't see putting each control in its own VCX. Most developers will put those classes in one VCX and actually I've not seen anyone take it to the one class per VCX technique that you mention.

I think there should be some balance. Right now I have a library with all the forms for the complex application and it takes some time to make changes in the class and save it.

However, I don't think I can easily break this library into few more without some other problems.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform