Jack wrote:
> Can a class be split into two files? I tried it but the second file
> doesn't seem to compile.

A class needs to be entirely defined in one unit. You can use the $I 
directive to include one file in another, but nobody does that because 
it's not very usable.

> The reason I'm asking about this is because
> the main form class files tend to get very large.

Does everything you're putting there really have to be a member of that 
form class? Perhaps you could factor out some of the things that don't 
really have anything to do with the UI. You might also use frames to 
move portions of the UI into other units.

-- 
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to