LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Quick drop with Quick Drop

The method QD uses only places the object on the cursor, so I can think of two options:

 

  1. Use the same method yourself and then simulate a mouse click (you can simulate a click in Windows using the Mouse_Event function in user32.dll and there should be enough examples online).
  2. Drop the function at the coords using the New VI Object primitive. You would need to translate the mouse coords to diagram coords using the various VI properties and methods and you can get the mouse coords using the mouse input VIs.

___________________
Try to take over the world!
0 Kudos
Message 11 of 14
(451 Views)

@MarcoMauri wrote:

What I'm doing now is

4a) Press enter and have the function "floating" on the block diagram ready to be placed

4b) Click the mouse button to place the function on the block diagram


Why hit ENTER?  Just click and you're done.  You do not need to hit ENTER in order for the QD to register your selection.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 12 of 14
(437 Views)

@crossrulz wrote:

Why hit ENTER?  Just click and you're done.  You do not need to hit ENTER in order for the QD to register your selection.


That's a good point!

0 Kudos
Message 13 of 14
(431 Views)

crossrulz wrote:
Why hit ENTER?  Just click and you're done.  You do not need to hit ENTER in order for the QD to register your selection.

Click-to-drop is called Super Quick Drop, and it's tip #3 on my highest-kudoed Darren's Nugget post.

Message 14 of 14
(420 Views)