@ Michael

Should TSimpleIPC.SetActive also check for csDesigning in ComponentState? I presume we don't want to active IPC when used at design time?

P.S. Mantis doesn't let me comment on the ticket #29717 <http://bugs.freepascal.org/view.php?id=29717>.

Denis

On 24/02/2016 18:06, Denis Kozlov wrote:
TSimpleIPC.Loaded overrides TComponent.Loaded, but never calls the inherited method to exclude csLoading from ComponentState.

This breaks TSimpleIPC as a component, i.e. it never gets activated when used in Lazarus IDE.

It may also need to check for csDesigning and never activate itself at design time.

Relevant ticket:
http://bugs.freepascal.org/view.php?id=29717

Denis

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to