<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div>Delphi's developers faced exactly the same dilemma with respect to Windows' behavior. Some of the standard behavior triggering events did not make much sense and they had to decide to keep it as it was or define an improvement. For the most part they kept it as it was. <br></div><div><br></div><div>These are not easy decisions. One logical approach does not always work in all cases. However, good documentation alone goes a long, long way to improving the situation.<br></div><div><br></div><div class="zmail_extra"><div id="1"><div><br></div><div>---- On Tue, 25 Oct 2016 14:43:09 -0400<b>vfclists . via Lazarus <lazarus@lists.lazarus-ide.org></b> wrote ----<br></div></div><div><br></div><blockquote style="border-left: 1px solid #cccccc; padding-left: 6px; margin:0 0 0 5px"><div><div dir="ltr"><div>On 10 October 2016 at 10:12, Bart via Lazarus <span><<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>></span> wrote:<br></div><div><div><div id="zmail_block">I think this is not logical. If the OnChange event is supposed to fire when the tab changes, and a PageIndex or a TabIndex changes the tab then it should do as it says. If the programmer wants Delphi compatibility then it is for the programmer to set a flag so that the OnChange event only fires when the end user changes the tab. In that case there should be a new event such as OnUserChange or something similar.<br></div></div><div><br></div><div>These illogical compatibility related definitions cause no end of trouble.If ill thought out definitions went into Delphi it is not smart to conform to them. Better make it known that they are illogical and that Lazarus and Freepascal do it the right way and gives them the option of switching to Delphi behaviour.<br></div></div><div><div>-- <br></div><div><div>Frank Church<br></div></div></div></div></div></blockquote></div><div><br></div></div></body></html>