Questions tagged [double-click]

A double-click is the act of pressing a computer mouse button twice quickly without moving the mouse.

870 questions
233
votes
57 answers

Android Preventing Double Click On A Button

What is the best way to prevent double clicks on a button in Android?
Androider
  • 21,125
  • 36
  • 99
  • 158
113
votes
7 answers

How to stop highlighting of a div element when double-clicking

I have this div element with a background image and I want to stop highlighting on the div element when double-clicking it. Is there a CSS property for this?
dave
  • 14,991
  • 26
  • 76
  • 110
78
votes
8 answers

Double click an NSTableView row in Cocoa?

I need my application to open a window when a user double clicks on a row in an NSTableView. I'm having a bit of a difficult time finding information or examples on how to accomplish this. Can anybody point me in the right direction?
Allyn
  • 20,271
  • 16
  • 57
  • 68
75
votes
29 answers

Android: How to detect double-tap?

I have a problem with implementing double tap. Well I implemented the onGestureListener and I had the gestureDetector, but I'm not sure where is the problem, here is my code: public class home extends TabActivity implements OnGestureListener { …
alan
  • 811
  • 2
  • 8
  • 6
71
votes
4 answers

How to bind a command in WPF to a double click event handler of a control?

I need to bind the double click event of a textblock (or potentially an image as well - either way, its a user control), to a command in my ViewModel. TextBlock.InputBindings does not seem to bind correctly to my commands, any help?
bluebit
  • 2,987
  • 7
  • 34
  • 42
67
votes
19 answers

How to prevent a double-click using jQuery?

I have a button as such: Within jQuery I am using the following, but it still allows for double-clicks: