TspeedButton’s Double click event has not fired when i double click on it.I need the different functionality for OnClick Event and OnDblClick Event.
Thanks,
Rakesh.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The short answer is that Delphi’s double-click event is not used unless the GroupIndex property is non-zero – per the code below, this means that FDown can be true. If GroupIndex = 0 then FDown won’t be true. The source for that event looks like this:
If you wanted to play around you could remove the “if FDown” from this, recompile the vcl and it would probably work ok for you.
-Don