Hi,
I have a TSpeedButton on my form to visually give a user feedback whenever the state changes. An attached OnClick event triggers actions whenever I click on the button.
However, for a particular case, I need that the OnClick does NOT fire when I programmatically change the Down property of the TSpeedButton.
In Delphi, I read that you can use for example TSpeedButton.ClicksDisabled but did not find a similar property in LCL.
I could set the OnClick to NIL and restore it afterwards, but is there a more elegant solution ?
Best regards,
Romain