I would like to know how to extend the TClientSocket class in Delphi, to put new features without losing the old, with examples. Thanks.
I would like to know how to extend the TClientSocket class in Delphi, to put new features without losing the old, with examples. Thanks.
Just tell the class that you want to extend in parentheses after class
unit ClientSocketPersonalizada
uses
System.Win.ScktComp;
type
TClientSocketPersonalizada = class(TClientSocket)
public
procedure SeuMetodo;
end;