[Lazarus] LCL change: TAction.OnExecute no longer sets TControl/TMenuItem.OnClick

Vojtěch Čihák vojtech.cihak at atlas.cz
Mon Jun 10 23:41:02 CEST 2013


 
If CheckBox.Action.OnExecute = CheckBox.OnClick then change of Checkbox.Checked does not change the Action.Checked but change of Action is propagated to checkbox correctly.
If CheckBox.OnClick is different (or nil) then it works perfectly in both directions.
 
Vojtěch 
______________________________________________________________
> Od: "Mattias Gaertner" <nc-gaertnma at netcologne.de>
> Komu: <lazarus at lists.lazarus.freepascal.org>
> Datum: 10.06.2013 23:20
> Předmět: Re: [Lazarus] LCL change: TAction.OnExecute no longer sets TControl/TMenuItem.OnClick
>
On Mon, 10 Jun 2013 21:51:21 +0200
Vojtěch Čihák <vojtech.cihak at atlas.cz> wrote:

> Hi,
>  
> Paul today resolved my bugreport 24435 - http://bugs.freepascal.org/view.php?id=24435 <http://bugs.freepascal.org/view.php?id=24435>. It works perfectly except one case: when CheckBox.Action.OnExecute = CheckBox.OnClick.
> OnClick must be different or nil. Anyway, it shouldn't be problem because as explained on the wiki release notes: Old behavior: .... The OnClicks were not saved to lfm.
> I only wanted to remind it here - just for the case.

It seems to work on 1.1. Do I miss something?

Mattias

--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130610/1a454a61/attachment-0003.html>


More information about the Lazarus mailing list