On Tuesday, 5. October 2010 17.24:09 José Mejuto wrote: > Hello FPC, > > Tuesday, October 5, 2010, 4:08:08 PM, you wrote: > >> As you can see the "Loaded" event is called (marked with some //-----) > >> before calling "GlobalFixupReferences", > > MS> Not if GlobalLoaded is set. > > Yes, but it is not set, because BeginGlobalLoading is not called at > all from any point in the code, nor in fpc/rtl nor in Lazarus lcl, nor > in Lazarus IDE, but the IDE is not the important thing as the main > problem is at runtime. Only LNet httpsvlt is calling the > "BeginGlobalLoading" unless some other call it using some kind of > opaque pointer :-? > Avoid circular component references in the forms and adjust the creation order that the referencing forms are created later or use
MSEgui: " msebegingloballoading; [...] create the forms mseendgloballoading; " Lazarus: " begingloballoading; [...] create the forms notifygloballoading; endgloballoading; " (not tested). Martin _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel