On Wed, Aug 23, 2017 at 4:24 AM, Denis Kozlov via Lazarus <
lazarus@lists.lazarus-ide.org> wrote:

> FYI, there are few related bug reports about OnChange not firing correctly
> on Mac OS:
> https://bugs.freepascal.org/view.php?id=24009 (year 2013)
> https://bugs.freepascal.org/view.php?id=30167 (year 2016)
>

This is a common Carbon behavior (and Cocoa as well).
Carbon "change" event is only triggered whenever an actual user input
occurred.
LCL OnChange event is triggered for both an actual user input or a
programmatic change.

Naturally, WSCarbon needs to updated to trigger LCL OnChange event whenever
a programmatic change occurs.

To be honest, it's surprising to see these issues again (a regression?)
since they've been worked on back in 2009-2010.
I might be wrong though, since similar problem might have been reported for
TMemo, TComboBox (rather than TEdit)

thanks,
Dmitry
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to