[Lazarus] How about new State in Mantis ?
Samuel Herzog
sam_herzog at yahoo.com
Wed Mar 11 18:54:41 CET 2009
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
More information about the Lazarus
mailing list