rtalmeida Posted September 6, 2017 Share Posted September 6, 2017 Hi, does anyone have any idea what would be the best practice to avoid two clicks on a uniBitBtn?Thank you. Link to comment Share on other sites More sharing options...
rgreat Posted September 6, 2017 Share Posted September 6, 2017 Disable button on click or filter double clicks by timeout. Link to comment Share on other sites More sharing options...
Sherzod Posted September 7, 2017 Share Posted September 7, 2017 Hi, Hi, does anyone have any idea what would be the best practice to avoid two clicks on a uniBitBtn? Thank you. Do you mean double click or? Link to comment Share on other sites More sharing options...
rtalmeida Posted September 8, 2017 Author Share Posted September 8, 2017 Yes Link to comment Share on other sites More sharing options...
rtalmeida Posted September 8, 2017 Author Share Posted September 8, 2017 avoid double-clicking, not to run two or more times the same statement. Link to comment Share on other sites More sharing options...
Freeman35 Posted September 9, 2017 Share Posted September 9, 2017 you can use tag property and cotrol it on OnClick for example: if Sender.Tag>2 then begin showmessage('Clicked more then 2'); Exit; end else Inc(Sender.Tag); ..... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now