[fpc-devel] LocalReferenceFixup
José Mejuto
joshyfun at gmail.com
Wed Oct 6 13:49:59 CEST 2010
Hello FPC,
Wednesday, October 6, 2010, 8:37:44 AM, you wrote:
>> Yes, but it is not set, because BeginGlobalLoading is not called at
[...]
MS> Avoid circular component references in the forms and adjust the creation order
MS> that the referencing forms are created later or use
[...]
MS> Lazarus:
MS> "
MS> begingloballoading;
MS> [...] create the forms
MS> notifygloballoading;
MS> endgloballoading;
MS> "
MS> (not tested).
I think I can see your point, but from the "end user" point of view
this is not a possibility. How to tell to the user, "Remeber you must
call beginglobal... and notifyglobal... and finally endglobal... when
you create forms with components that need a global loading link
reference fixup" :-?
Moreover user can not take care of creation order, it is not
deterministic (AFAIK), there is no way to change it in Lazarus and
finally it defeats the drag/drop/design paradigm. I have a form with
25 SQLQuery, 23 of them are chained in some way, if I need a new one
at the beginning I must delete 23, add the new one, create or paste
the 23 again and relink manually again ?
So the final question, should this moved from fpc-devel to Lazarus
mailing list ? Is it not considered a bug in the TReader ?
Thank you.
--
Best regards,
José
More information about the fpc-devel
mailing list