<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr"><span>Let's consider my example</span></div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr"><span><br></span></div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr"><span id="yui_3_16_0_1_1418656290276_9732">.Onchange will be triggered every time i press i key on my edit</span></div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr"><span id="yui_3_16_0_1_1418656290276_9733">.OnExit will be triggered every time my edit looses focus</span></div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr"><span id="yui_3_16_0_1_1418656290276_9734">.OnEditingDone will be triggered every time my edit *believes* i am done editing</span></div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr"><span id="yui_3_16_0_1_1418656290276_9735"> 1) When i press the Enter key, to confirm the data i just input<br></span></div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr"><span id="yui_3_16_0_1_1418656290276_8218"> 2) When the edit looses focus, but its data has been changed since the edit got focus<br></span></div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr"><span> <br></span></div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr">There is no reason to get a *Done Editing* event, if there has never been a *Start Editing* </div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr"><br></div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr">Regards,</div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr">Chris</div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr"><br></div><div id="yui_3_16_0_1_1418656290276_8114" dir="ltr"><br></div><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;" id="yui_3_16_0_1_1418656290276_8131"> <div style="font-family: lucida console, sans-serif; font-size: 13px;" id="yui_3_16_0_1_1418656290276_8130"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1418656290276_8129"> <div dir="ltr" id="yui_3_16_0_1_1418656290276_8135"> <font size="2" face="Arial" id="yui_3_16_0_1_1418656290276_8136"> On Monday, December 15, 2014 4:19 PM, Mattias Gaertner <nc-gaertnma@netcologne.de> wrote:<br> </font> </div> <br><br> <div class="y_msg_container" id="yui_3_16_0_1_1418656290276_8128">On Mon, 15 Dec 2014 16:07:17 +0200<br>"Chris Crori" <<a ymailto="mailto:crori49@yahoo.com" href="mailto:crori49@yahoo.com" id="yui_3_16_0_1_1418656290276_9736">crori49@yahoo.com</a>> wrote:<br><br>> Hi!<br>> I tried to use .OnEditingDone event on TEdit and found out that it is called like .OnExit, even if there was no change.<br><br>A change compared to what?<br><br>> Is this by design?<br><br>Yes.<br><br>> I thought that to trigger a .OnEditingDone event, there shoud be a *beginning* in editing.<br>> <br>> eg : A Form with 2 edits, clicking each one, makes the other one run a .OnEditingDone event every time!<br><br>Correct.<br><br>Mattias<br><br>--<br>_______________________________________________<br>Lazarus mailing list<br><a ymailto="mailto:Lazarus@lists.lazarus.freepascal.org" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br><a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br><br><br></div> </div> </div> </div> </div></body></html>