Roland Turcan schrieb:

> I have my own component, which successfully installed into Lazarus.
> When I use this component on any form after reopening/reloading form
> it reports an error. That is a simple notebook implementation with no
> background to get pages transparent.

What's this?

> constructor TNoBackNotebook.Create(AOwner: TComponent);
[...]
>   if not Registered then
>   begin
>     Classes.RegisterClasses([TNoBackPage]);
>     Registered := True;
>   end;
> end;

IMO the registration should occur in a Register procedure in the unit, 
at least *before* any instance is created.

DoDi

_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to