On Tue, 2011-05-24 at 08:46 +0200, Graeme Geldenhuys wrote: > On 24/05/2011 02:02, Jose Luis wrote: > > > > What does this mean ?, it was a SpeedButton that triggered the action, > > but I received a TAction object. > > The SpeedButton triggered the action (eg; acButton.Execute), the Action > then triggered the event handler. Possible? > > Does the SpeedButton in question have it's Action property set? If so, > then the SpeedButton's OnClick event handler will not fire. The Action > property takes precedence as far as I know. > > Regards, > - Graeme - > Hi, Graeme, and thank you a lot, it works fine now !
As you say, the Action property of the SpeedButton had it's Action property set (by default?); setting up the Action to None resolve the precedence. Best regard, J.L. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
