Como esconder o construtor TObject herdado enquanto a classe tem sobrecarregados?
Dê uma olhada nesta aula:
TTest = class(TObject)
public
constructor Create(A:Integer);overload;
constructor Create(A,B:Integer);overload;
end;
Agora, quando queremos usar a classe:
var
test: TTest;
begin
test:= TTest.Create; //this constructor is still visible and usable!
end;
Alguém pode me ajudar a esconder esse construtor?