Re: [fpc-pascal] Is there a smart way to save/restore NotifyEvents and objects?

2018-02-03 Thread Sven Barth via fpc-pascal
Am 03.02.2018 10:08 schrieb "Michael Van Canneyt" : On Sat, 3 Feb 2018, Sven Barth via fpc-pascal wrote: Am 03.02.2018 09:11 schrieb "Michael Van Canneyt" : > > > > On Sat, 3 Feb 2018, Dennis Poon wrote: > > > >>> If your objects inherit from

Re: [fpc-pascal] Is there a smart way to save/restore NotifyEvents and objects?

2018-02-03 Thread Michael Van Canneyt
On Sat, 3 Feb 2018, Sven Barth via fpc-pascal wrote: Am 03.02.2018 09:11 schrieb "Michael Van Canneyt" : On Sat, 3 Feb 2018, Dennis Poon wrote: If your objects inherit from TComponent and you use published properties you can use the streaming screen of the RTL.

Re: [fpc-pascal] Is there a smart way to save/restore NotifyEvents and objects?

2018-02-03 Thread Sven Barth via fpc-pascal
Am 03.02.2018 09:11 schrieb "Michael Van Canneyt" : On Sat, 3 Feb 2018, Dennis Poon wrote: >> >> If your objects inherit from TComponent and you use published properties >> you can use the streaming screen of the RTL. >> >> I am curious how TComponent save and restore

Re: [fpc-pascal] Is there a smart way to save/restore NotifyEvents and objects?

2018-02-03 Thread Michael Van Canneyt
On Sat, 3 Feb 2018, Dennis Poon wrote: If your objects inherit from TComponent and you use published properties you can use the streaming screen of the RTL. I am curious how TComponent save and restore TnotifyEvent fields. Can you explain a little bit? Roughly: If you put a method in