>Hi All,
>
>I have a question about sub-classing the VFP controls. Assuming the statement
“Sub-Class Everything” is correct. When you create a new class it has to go in a class library. The classes created will be used in all executable programs. Some of these require only a few controls on the form. Others will require several. The question I/We have is: Which is better?
>
>1) Place each sub-classed control into separate libraries. One for a textbox, one for a combobox, grid, form, etc…
>
>2) Or place all of them in the same class library.
My rule of thumb is to put all the level 1 controls in one library, specially if it's a framework type, ie. to be used accross apps.
Within apps, if I have to subclass further, group them by purpose. Separate printing stuff from toolbar stuff from messaging stuff from login stuff from system maintenance etc etc. But I don't claim any originality here - I got that habit from frameworks.