Questions tagged [mouseleftbuttondown]
41 questions
0
votes
1 answer
Detect mouse left button down (Click) outside a border WPF MVVM
I have a border in MVVM. What I am trying to achieve is to detect mouse left button down outside the border and then hide it. I can do it within the MouseLeftButtonDown event for main window, but I do not know if it is the best solution. How could I…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
Minecraft removed world.setblock in 1.8
I had this in 1.7.10, with no errors Until in 1.8 they removed the world.setblock
@Override
public ItemStack onItemRightClick(ItemStack itemStack, World world,
EntityPlayer entityPlayer) {
…
user3854136
0
votes
2 answers
How can I block event in root element and let the event fired in the container(parent) level?
I'm working with WPF.
My visual tree hierarchy as the following:
RadDiagram > RadDiagramShape > MyControl
The content of RadDiagramShape is mycontrol.
In myControl class, I have handled (MouseLeftButtonDown) Event, I put drag-drop code inside…

Alaa'
- 487
- 3
- 7
- 16
0
votes
0 answers
Matlab - Deployed Program - ButtonDownFcn does not execute
I'm creating a tool for our engineering team to view data coming off our systems in the field. The underlying data isn't critical to it. Basically, it consists of vectors containing Y data at X time.
I'm plotting a series of vectors using subplot.…

Michelle
- 31
- 2
0
votes
1 answer
MouseEnter Stack
In the code that follows,was trying get the border that was clicked the name or the text of the child that's a textblock my problem is that without "eaclick.Handled = true;" in the code it starts showing me all the Names of the border that the mouse…

H.C
- 565
- 7
- 28
0
votes
1 answer
Silverlight mouse left button down issue
In a Silverlight 3 project I am using mouse left button down event on a border control but found out that the event is raised even when I click the button slightly outside the border like 5-10 pixels.
Has anyone faced this issue before?
Thanks in…

Haris
- 691
- 3
- 19
- 34
0
votes
1 answer
drag the mouse down when clicking
I have been trying to make a script that drags your mouse down when you left click.
So far my code looks like this (just for the test I have been using the Write "1" part)
static void Main(string[] args)
{
while (true)
{
while…

user3002135
- 237
- 1
- 4
- 15
0
votes
1 answer
How to define an event handler of MouseLeftButtonDown of program generated Ellipse element of Canvas in WPF?
How to define an event handler of MouseLeftButtonDown of program generated Ellipse element of Canvas in WPF? I have something like this:
canvas.Children.Add(new Ellipse(){
Name = "FirstEllipse",
Width = 150,
Height = 100,
Margin =…

Corio
- 395
- 7
- 20
0
votes
2 answers
How to access row data from a MouseLeftButtonDown event on a textblock, in a gridview
I am trying to modify data in rows in a gridview which I have pulled from a database.
The data is being bound to each gridview column like the following.
…

DiscoDamo
- 59
- 7
0
votes
2 answers
How to disable Left Click of Mouse for a particluar div using javascript?
I want to disable the left click for a particular div. I have tried the following way but its not working for me:
$('[id$=div]').onclick=function(){xajax_addFunction()};
It is document.ready(). it throws error that xajax_addFunction() is not…

Ram
- 1,131
- 10
- 28
- 52
0
votes
1 answer
Can I make a WPF ListBox change selection on left button press only
I have a WPF ListBox operating in single selection mode. I am adding drag and drop to move items around. Currently the ListBox selection responds to both left button pressed and then with mouse moves with left button down. So after I wait for the…

jyoung
- 5,071
- 4
- 30
- 47