Tuesday, August 6, 2013

Can we implement an object in more than one source file?

Can we implement an object in more than one source file?

I have a Unit1.pas (for example) where I have a TService with a
TIdTCPServer and a TIdUDPServer components dropped in, but I would like to
have the event methods implemented in different files, like UDP.pas and
TCP.pas. Is it possible if they are part of TService? How?

No comments:

Post a Comment