Dobra. Pisze komponent pochodny od klasy TCustomLabel:
type
TJuhasScrollLabel = class(TCustomLabel);
...
Gdy chcę położyć ten komponent na formę, pojawia się błąd:
Control '' has no parent window.
I komponent się nie kładzie. O co mu chodzi?
Konstruktor wygląda tak:
constructor TJuhasScrollLabel.Create(AOwner: TComponent);
begin
inherited;
//i tu różne przyrównania, np: FInterval=200
end;