On Tuesday 05 October 2010 13:55:53 José Mejuto wrote:
>
>         if not Assigned(GlobalLoaded) then begin   <<<<<<<<<----------
>           for i := 0 to FLoaded.Count - 1 do
>             TComponent(FLoaded[i]).Loaded;//----------------------------
>         end;
>
>       finally
>         if not Assigned(GlobalLoaded) then
>           FLoaded.Free;
>         FLoaded := nil;
>       end;
>       GlobalFixupReferences;
> [...]
> ------------------------------------------------------
>
> As you can see the "Loaded" event is called (marked with some //-----)
> before calling "GlobalFixupReferences", 

Not if GlobalLoaded is set.

Martin
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to