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)

577 questions
4
votes
1 answer

jQuery; Parallax page - Get the click event go through DIV layers

DEMO The idea now is to (instead of transp. .png images) fill the layers with standard HTML elements, like making a nice moving 2d-3d page. You can guess my first problem. Whatever I tried I cannot make the click event go through the 100x100% div…
Roko C. Buljan
  • 164,703
  • 32
  • 260
  • 278
4
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
  • 181
  • 2
  • 14
4
votes
2 answers

C#, mouseClickEvent doesn't respond to right mouse click

on click event doesn't respond to right mouse click. The event is for a richTextBox. when I try the same code on the form it works fine. what could be the problem? EDIT: I use winforms
Alex Kapustian
  • 4,653
  • 14
  • 48
  • 76
4
votes
4 answers

In WPF / C#, how can I check if the center button is clicked or released?

In WPF / C#, there are events on MouseRightButtonDown and MouseLeftButtonDown, but what about the center mouse button? Is the Center Mouse button down/up e.g. events in WPF forgotten? How can I check if the center button is clicked or released?
code-zoop
  • 7,058
  • 8
  • 45
  • 56
4
votes
1 answer

PYTHON- PYGAME: How do I know if a mouse clicked on an image?

I'm making a basic level game where if i click a card, a picture will show. The pictures are randomly chosen. and so far, I have assigned random pictures to a card and the cards are shown face down. So if i click the card, i want the assigned…
Maia F.
  • 41
  • 1
  • 1
  • 2
3
votes
1 answer

JavaFX 2 MouseClicked event is not generated as it should (as in JAVA)

In the following code I demonstrate a difference between the java and javaFX2 as far as it concerns generation of a MOUSE_CLICKED event which I do not know if it should be expected or can be considered as bug. It seems that in JavaFX 2.0 you can…
C.L.S
  • 1,250
  • 2
  • 17
  • 31
3
votes
5 answers

Why can't I click() links in jQuery?

I came across a curiosity in jQuery: if I call .click() on a link the click event handlers are called, but the link isn't actually followed (as if it were clicked in the browser):
Alex Peattie
  • 23,394
  • 5
  • 46
  • 51
3
votes
0 answers

Click on a GeoJson layer feature shown on Python Folium map

I have the following code to display a geojson file on a Folium map in python. import folium import json with open("roadway.geojson") as f: data = json.load(f) m = folium.Map(location=[39.945559, -86.503854], zoom_start=10) folium.GeoJson( …
AkbarB
  • 157
  • 2
  • 11
3
votes
3 answers

Code Advice - How to make more concise (Javascript/Jquery)

I'm trying to make my code more concise (i.e., less repeated code). I've gotten some advice from my supervisor as to how to make my recent code more concise, but I'm not exactly sure how to do it. I have some coordinates that I am using to check if…
Briz
  • 528
  • 1
  • 9
  • 21
3
votes
1 answer

wpf popup inside user control, button not respond to events or commands

I have the following user control xaml
user2160275
  • 188
  • 4
  • 18
3
votes
1 answer

Jquery: Display img next to line that was clicked

I'm trying to create a bookmarking feature for my site, so when someone clicks on "set bookmark" then they click on a line of text, it will place a bookmark image to the left of that line. (i'll then save the coor to a cookie, but i can do that…
android.nick
  • 10,260
  • 22
  • 70
  • 111
3
votes
3 answers

How to find mouseclick first and if not clicked, then go for mouseover

How to find mouseclick first and if not clicked, then go for mouseover ? I had implemented two types of functionalities in two mouse events. One in mouseover and the other in mouseclick. If I clicked, i need to trigger mouseclick event first,…
John Stephen
  • 1,821
  • 3
  • 22
  • 47
3
votes
0 answers

Not to get listener OK click button in settings using AccessibilityService?

Hello i try to ask very clear so that everyone can get easily:- i developed one app which do force stop programetically work fine but today i found one mobile LeEco which not performing this my code is below if (event.getSource() != null) { …
Bhanu Sharma
  • 4,946
  • 1
  • 21
  • 46
3
votes
1 answer

How can I move mouse cursor and click?

Like my question, how can I do it? I have started making a .bat file which will open websites and now I want it to move the cursor into a specific X'Y location of the screen and left click. Is there a way I can do it in .bat or in any other type of…
Stam Kaly
  • 608
  • 1
  • 9
  • 25
3
votes
1 answer

Mouse Selection in MASM32

Ultimately, I am trying to select a button when there is a left click on the mouse using assembly language but have not found any useful techniques. Any help would be grateful! The code for the program is below. INCLUDE IRVINE32.inc INCLUDELIB…