[fpc-devel] LocalReferenceFixup

Martin Schreiber mse00000 at gmail.com
Tue Oct 5 16:08:08 CEST 2010


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



More information about the fpc-devel mailing list