[fpc-pascal] When loading a TComponent from file, method Loaded fired but method Loading not.

2014-12-17 Thread Kiên Nguyễn Tiến Trung
Could you please explain this problem? I think that Loading method should be called by streaming system. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] When loading a TComponent from file, method Loaded fired but method Loading not.

2014-12-17 Thread Michael Van Canneyt
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

Re: [fpc-pascal] When loading a TComponent from file, method Loaded fired but method Loading not.

2014-12-17 Thread Kiên Nguyễn Tiến Trung
Thank you very much. 2014-12-18 2:52 GMT+07:00 Michael Van Canneyt : > > > > 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 componen