Jak ukryć odziedziczony konstruktor TObject, gdy klasa ma przeciążone te?
Spójrz na tę klasę:
TTest = class(TObject)
public
constructor Create(A:Integer);overload;
constructor Create(A,B:Integer);overload;
end;
Teraz, kiedy chcemy użyć klasy:
var
test: TTest;
begin
test:= TTest.Create; //this constructor is still visible and usable!
end;
Czy ktoś może mi pomóc ukryć tego konstruktora?