[fpc-pascal] When loading a TComponent from file, method Loaded fired but method Loading not.
Kiên Nguyễn Tiến Trung
kc97ble at gmail.com
Thu Dec 18 02:51:22 CET 2014
Thank you very much.
2014-12-18 2:52 GMT+07:00 Michael Van Canneyt <michael at freepascal.org>:
> On Wed, 17 Dec 2014, Kiên Nguyễn Tiến Trung wrote:
> Could you please explain this problem? I think that Loading method should
>> be called by streaming system.
> This is by design.
> The state of a component cannot be manipulated directly.
> The csLoading state of a component is set by the reader by accessing the
> private fields of TComponent directly.
> The author of fpGUI wanted to set the csLoading component without using a
> So the Loading() method was introduced to set csLoading, but it is by
> design not used by the reader.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal