Questions tagged [right-click]

A right-click is pressing the right or secondary button on a mouse.

A term used to describe the action of pressing down on the right mouse button. The right-click is used to provide additional functionality to a computer's mouse, usually in the form of a drop-down menu containing additional options.

Please read more at: http://www.computerhope.com/jargon/r/righclic.htm

694 questions
4
votes
2 answers

How can I have right-click on a cell of Java JList select that cell just like left-click does?

I setup a JPopupMenu that will show if the user right-clicks on a cell within a JList, but right now that cell has to first be selected in order for the JPopupMenu to show. I am wondering how I can have that cell be selected upon right-click then…
Brian T Hannan
  • 3,925
  • 18
  • 56
  • 96
4
votes
2 answers

trigger two mouse events simultanious jquery

how can I trigger two mouse events simultanious (hold right clic and mouse weel) I have to press the right button of the mouse and hold on and at the same time I roll the wheel $("selector").bind("click mousewheel", (function(event, delta) { …
Arbia CHARFI
  • 131
  • 1
  • 8
4
votes
2 answers

Disable right click via Touch and hold on Windows 7 Touchscreen device

To see the right click event I am referring to, see this video. I am working on an application that adds a zoom button in a Windows Forms application. When the user touches the button, the application should continuously zoom the window. This works…
teynon
  • 7,540
  • 10
  • 63
  • 106
4
votes
4 answers

How to disable right-click save on one specific image only

I'm running an Asian e-commerce site where users post images of their products. Is there a way to disable right click for only 1 specific image on the page? E.g. When viewing a product, there is a large image, and then some thumbnails of the…
justinl
  • 10,448
  • 21
  • 70
  • 88
4
votes
3 answers

How to disable/enable a checkbox on right-click in chrome and firefox

I wrote some code which allows me to disable/enable checkboxes when I right-click them. It works in IE but not in Chrome or Firefox. rightClickFunc: function (e) { var obj; if ($.browser.msie) obj = event.srcElement; else obj =…
Crushinator
  • 271
  • 2
  • 4
  • 9
4
votes
1 answer

How to generate a right-click event in all browsers

A little context: The app I'm working on has a right-click context menu for certain objects on the screen. The current design as that each of these objects listens for a right-click, sends an AJAX request to get the context data for that object,…
ntownsend
  • 7,462
  • 9
  • 38
  • 35
4
votes
1 answer

Add an entry in right-click context menu and thereby running a java program

I am trying to invoke a java program by right clicking a file, which will use that file for some operation. The working should be such that, if i right click on a file, there should be present a menu item, such as "ClickMe". On clicking this, a java…
user1538162
  • 71
  • 1
  • 1
  • 4
4
votes
1 answer

How correct show the Explorer-based right-click menu

I create this menu using code placed by Sertac Akyuz in answer here: Show the default right-click menu - Delphi and it works good, but there is problem: When I click in created menu: delete (delete file to recycled) - it asks me: Are you sure want…
user2154246
  • 55
  • 1
  • 6
4
votes
1 answer

Popup windows being blocked if opened through mousedown event

I want to open a popup window when someone clicks an area with the right mouse button. I am using this at the moment: $("#popup").bind('mousedown', function(e) { var w; if(e.which==3) { w=window.open('link','_blank','options'); …
valepu
  • 3,136
  • 7
  • 36
  • 67
4
votes
1 answer

why the right click inside IE browser stops the javascript

I have written a simple javascript animation code. When I right click on the document the javascript animation stops and resumes back only when the context menu closes. This happens only in IE and the animation continues if I do the same in other…
4
votes
2 answers

How to detect a Right Click event in Visual studio?

Okay, so this should be a simple question, but I'm fairly new at programming, and I can't for the life of me figure out how to use a right-click event. All I want to do is call an event that does something when I right-click a picturebox. It's not…
Kaleo Brandt
  • 347
  • 1
  • 4
  • 12
3
votes
1 answer

Add a item to eclipse package explorer's right-click menu

I want to add a item to eclipse package explorer's right-click menu. Any one has ideas?
Grove Cai
  • 33
  • 5
3
votes
2 answers

Right Clicking on JButton

trying to add a mouseAdapter to a JButton for a right click to flag the cell. Problem is when I instantiate it onto the button, it won't let me. Maybe because it already has an actionlistener on it? I'm not too sure. Any help is appreciated. …
Loi
  • 31
  • 1
  • 2
3
votes
2 answers

Right-click menu of EXE file

I was wondering if it was possible in Delphi to implement some items added to the right-click menu of an EXE file, specifically a Windows Service Application EXE which has not yet been registered or installed anywhere. The menu options would allow…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
3
votes
1 answer

How to programatically manipulate a popup menu on multiple dynamic widgets in Progress

Language: Progress 10.1C I have a Windows form, and on it I dynamically create a number of widgets (toggle-boxes in this case). I can create anything from 0 to 64 widgets, depending on how many do-hickies the user has in the current collection. As…
RobertT
  • 1,213
  • 10
  • 12