<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 23, 2017 at 4:24 AM, Denis Kozlov via Lazarus <span dir="ltr"><<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">FYI, there are few related bug reports about OnChange not firing correctly on Mac OS:<br>
<a href="https://bugs.freepascal.org/view.php?id=24009" rel="noreferrer" target="_blank">https://bugs.freepascal.org/vi<wbr>ew.php?id=24009</a> (year 2013)<br>
<a href="https://bugs.freepascal.org/view.php?id=30167" rel="noreferrer" target="_blank">https://bugs.freepascal.org/vi<wbr>ew.php?id=30167</a> (year 2016)<br></blockquote><div><br></div><div>This is a common Carbon behavior (and Cocoa as well). </div><div>Carbon "change" event is only triggered whenever an actual user input occurred.<br></div><div>LCL OnChange event is triggered for both an actual user input or a programmatic change.</div><div><br></div><div>Naturally, WSCarbon needs to updated to trigger LCL OnChange event whenever a programmatic change occurs.</div><div><br></div><div>To be honest, it's surprising to see these issues again (a regression?) since they've been worked on back in 2009-2010.</div><div>I might be wrong though, since similar problem might have been reported for TMemo, TComboBox (rather than TEdit)</div><div><br></div><div>thanks,</div><div>Dmitry</div></div></div></div>