[Lazarus] TFilenameedit onchange osx
Dmitry Boyarintsev
skalogryz.lists at gmail.com
Thu Aug 31 15:43:43 CEST 2017
On Wed, Aug 23, 2017 at 4:24 AM, Denis Kozlov via Lazarus <
lazarus at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170831/44e765ca/attachment.html>
More information about the Lazarus
mailing list