TAdvSmoothButton

Hi,

I use a TAdvSmoothButton and I have two procedures. One at the action "OnClick" and the second "OnDblClick".
If I use the "OnDblClick" the procedure of "OnClick" start too. Is there a way to distinguish these events? So that only the second "OnDblClick" starts.

Thanks

There is unfortunately not a straightforward way to do this. It is normal and by design that a double click will also trigger OnClick. You'll see exactly the same behavior in a standard VCL TPanel component for example. When the first click happens, it can at that time not be decided whether there will be a second click following fast enough to trigger a double click.