<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">I will test it, it is good for me<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">But off topic <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
TMenuItem and TControl both have FOnClick, why not use parent class for both and share that Methods/Function/Properties?<br><br>//in fact it is and old discusses and refused before by Lazarus Team =-|*<br><br></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 6:58 PM, Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Because of the constant confusion and bug reports the TAction.OnExecute<br>
and TControl/TMenuItem.OnClick are now two separate things.<br>
See here for details:<br>
<br>
<a href="http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes#LCL_TAction.OnExecute_no_longer_sets_TControl.2FTMenuItem.OnClick" target="_blank">http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes#LCL_TAction.OnExecute_no_longer_sets_TControl.2FTMenuItem.OnClick</a><br>
<br>
Mattias<br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a 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>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><span style="font-family:courier new,monospace">I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3<br><br>Best Regards<br>Zaher Dirkey</span></div>
</div>