Questions tagged [mouseleftbuttondown]
41 questions
1
vote
0 answers
Right click Menulet ObjC
I was able to create a small Menubar app using ApplescriptObjC, and it works just fine, the menu displays and I am also able to use different icons. Now I have been trying to differentiate between Right and Left clicks, in order to trigger different…

ruben1691
- 353
- 3
- 20
1
vote
3 answers
How to adapt left-click action on JTable to the right-click in java?
I have a JTable which I want to have left-click and right-click JPopupMenu on it.
Normaly by left-click on the JTable you can select a row. I would like to do the same with right-click plus show up a popup menu.
Does anybody know how to do…

itro
- 7,006
- 27
- 78
- 121
1
vote
2 answers
MouseLeftButtonDown event isn't fired in child ContentControl
I have PortItem which derived from ContentControl, TextedStackPanel derived from StackPanel which contains PortItems. And in MainWindow i have 2 StackPanels which contains TextedStackPanels . In PortItem i have overridden MouseLeftButtonDown…

Rabi
- 135
- 1
- 2
- 16
1
vote
1 answer
Get row selected index value in Mouse Left Button Down in Silverlight
I have an image in a datagrid that shows below

Arun
- 1,644
- 9
- 25
- 41
0
votes
1 answer
SilverLight 4, DataGrid, DataGridColumnHeader, MouseLeftButtonDown event
DataGridColumnHeader has event MouseLeftButtonDown. How can i use this event ?
How can i join DataGridColumnHeader with DataGridColumn ?
for Example:
...
DataGridTextColumn TC;
TC = new DataGridTextColumn();
TC.Header = "ID";
TC.Binding =…

Altivo
- 490
- 6
- 13
0
votes
1 answer
Right click mouse event bug
I tried to fix a bug, for the last hour and I just couldnt.
The bug is:
If you press left click and dont release it, and then press right click (contextual menu appears) and then left click again, the first "drag" action is never released.
Its like,…

Artemix
- 8,497
- 14
- 48
- 75
0
votes
1 answer
Strange problem with the left-click on a Silverlight DataGrid
I am experiencing some very strange mouse-event behaviour when working with Silverlights DataGrid:
What I want to do is simply call some method when the user left-clicks over my DataGrid. That shouldn't be much a problem, but ...
With
public void…

marc wellman
- 5,808
- 5
- 32
- 59
0
votes
1 answer
how to add different Href and onCick in ANCHOR TAG for a Ajaxed based website?
I am developing a Ajax based web application.I want to add HREF and OnClick, both to the anchor tag.
This I want to do because of 2 reasons,
To keep the web application SEO friendly.'
Secondly, if user does a "left click event" in that case I want…

Ashish Agarwal
- 6,215
- 12
- 58
- 91
0
votes
0 answers
WPF "button" that allows MouseLeftButtonDown and MouseLeftButtonUp events to fire
I'm trying to figure out a way to simply have a user control that has the same functionalities of a "button" but doesn't prevent the "MouseLeftButtonDown" and "MouseLeftButtonUp" to bubble up.
For my specific application, I cannot solve it with any…

piter123
- 61
- 1
- 3
0
votes
1 answer
Left click detection with ursina
I'm using ursina to make a game, and I want to detect a left click so that I can shoot. So, here's my code :
def update(self):
if held_keys['t']:
print("it works !")
Whenever I press 't', it prints 'it works !', and if I hold it, as…

Quantum Sushi
- 504
- 7
- 23
0
votes
1 answer
UserControl MouseButtonEventHandler Microsoft Surface Application
I have just start working with Microsoft Surface.I have designed a UserControl in Blend 4. And implemented a simple DrapDrop event over the UserControl. It works fine. The problem is, when i click over the UserControl, UserControl just jumps to…

Adeel
- 1
0
votes
1 answer
Windows Phone 7, does MouseLeftButtonDown translate to the deployed application?
Quick question -- if I code something to respond to "MouseLeftButtonDown" such as the pushing of an image, if I leave the code the same way when I ship the app, will this directly translate to the user pushing their finger down on the same spot, and…

topcoderwannabe
- 123
- 3
- 12
0
votes
1 answer
detect simultaneous right and left mouse clicks
I'm writing a game in UWP and C#, and I want the player to be able to indicate an action by pressing both left and right mousebuttons at (or almost at) the same time.
It's easy enough to have an event for one button, but within the event, I want to…

cyberspy
- 1,023
- 11
- 13
0
votes
1 answer
Issue with generating left click in win32 api?
Below is my code to generate left click using win32 api. The problem is that it gets stuck and does not return to main. When i press Ctrl+c, then it returns to main. BUT when I call it twice, to simulate double click then it is fine. Is there…

infinitloop
- 2,863
- 7
- 38
- 55
0
votes
0 answers
Perform Action whilst LeftButton is HELD C#
NOTE: I'm quite new to this so if I'm making dumb mistakes I apologise, I'm learning! :D
So basically I want to perform an action whilst the LeftButton on the mouse is held, in my case I would like the program to perform a LeftClick whilst this is…

RAD140
- 61
- 2
- 7