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" <[email protected]>
Komu: <[email protected]>
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 <[email protected]> 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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to