Questions tagged [mouseclick-event]

An event that is triggered when a Mouse input device is clicked

A MouseClickEvent is an event that is triggered when a button on a Mouse input device is clicked. The event contains information such as the particular button that was clicked, the length of time that the button was pressed, and how many times the button was clicked (single-click, double-click, etc)

632 questions
7
votes
1 answer

Mimicking CTRL+Click Multiple Selection in ListView using Javafx

I'm trying to find different ways of selecting multiple items in a ListView. The GUI will be running on a touch screen monitor, So I won't be able to CTRL+Click. From researching through various past posts, I have been able to implement Multiple…
Ammar
  • 71
  • 4
7
votes
2 answers

open source click or mouse tracking software

does any one know of or recommend any Click tracking or heat map generation - open source php based software ? like http://www.labsmedia.com/clickheat/
Harsha M V
  • 54,075
  • 125
  • 354
  • 529
7
votes
2 answers

Remove unused C# code in Visual Studio

when working on a windows form I have accidently clicked on buttons and now I have part of code related to this click event. I don't need them and I would like to remove these parts from the code but, if I do, Visual Studio complains when compiling…
opt
  • 477
  • 1
  • 10
  • 25
7
votes
6 answers

Detect background click in jQuery

Say I have the following HTML:
span text div text some more text
I want to make it so that when I click on span, it will trigger some event (e.g. to make the text bold), that's easy: $('span').click( ...…
Senseful
  • 86,719
  • 67
  • 308
  • 465
6
votes
2 answers

Mouse events not fired

I'm making a C# WinForms application. The MouseMove and MouseClick events of the form aren't getting fired for some reason. (I'm probably going to feel like an idiot when I find out why.) It is a transparent form (TransparencyKey is set to the…
Joshua Walsh
  • 1,915
  • 5
  • 25
  • 50
6
votes
3 answers

C# Right mouse click on button does not raise mouseclick event

I have a button on a form and want to handle both left and right clicks. I am handling the MouseClick event, but this is only raised on a left click. Is this a problem somewhere in my code (a setting that I have missed) or the intended…
Mark
  • 1,759
  • 4
  • 32
  • 44
6
votes
1 answer

'Click anywhere' event in plotly

I am trying to implement a 'click anywhere' feature in plotly so that I can get the coordinates on user clicks anywhere on plotly charts. The current "official" plotly functionality only works when users click on a plotted data point, but I want to…
6
votes
1 answer

Angular - Change Font Awesome icon color on click

I created a component named "like" with the following HTML:
When I click on the icon, it should change the variable "isActive" and consequently the color of…
mgiurni
  • 155
  • 1
  • 2
  • 8
6
votes
2 answers

WPF : How to assign click event to the form

How to assign Click event in this? I want to do something when mouse click on this window. It's doesn't have Click properties in both Window and Canvas
Prince OfThief
  • 6,323
  • 14
  • 40
  • 53
6
votes
6 answers

Detect both left and right mouse click at the same time?

I'm remaking windows Minesweeper (from XP) and something they had included was that if you click a number with as many flags as it's number with the left and right mouse button at the same time, it reveals every other hidden tile around that…
Corey Ogburn
  • 24,072
  • 31
  • 113
  • 188
6
votes
1 answer

D3 update dataset on click and redraw the bar chart

I am new to d3 as well as javascript, and I am having trouble updating the dataset, as well as redrawing the bars. This is the code I have been looking at so far. http://jsfiddle.net/TwEhT/2/ I have a function clickEvent, that is evoked upon a…
user2159121
  • 135
  • 1
  • 7
5
votes
1 answer

Programmatically clicking on View element from different app

I want to write a service that sits in the background and when headset media button is pressed some specific ListView element from different app will be clicked. Right now I'm only able to activate some specific Activity that has only ListView…
pzo
  • 2,087
  • 3
  • 24
  • 42
5
votes
2 answers

How to detect side mouse clicks in Javascript?

Is it possible to detect using JavaScript when the user clicks the back/forward buttons that are the side of your mouse ? These are known as XButtons as far as I know, in .net at least. This is for a locally installed app so I don't need cross…
Michael Low
  • 24,276
  • 16
  • 82
  • 119
5
votes
1 answer

Disabled Left Click (for Psych Experiment), but focus changes in IE. How to prevent?

I am conducting some Psych experiment on web design, and I want to disable both mouse clicks. (Please ignore usability issues. I know about them. I intentionally do this for the purpose of my psych experiment.) So far I succeeded disabling both…
user605660
  • 199
  • 2
  • 2
  • 7
5
votes
1 answer

Angular 5 : how can i use click event in item list?

I'm a student starting to train on Angular 5. I guess my issue could be the same even on Angular 2. For a project, i'm currently trying to create a simple search input where the user can write a name of a city, and the field will suggest some names…
Linpter
  • 201
  • 3
  • 17
1 2
3
42 43