LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

number pad control

Use the mouse down event. You can find some tutorials on events by searching the site.

___________________
Try to take over the world!
0 Kudos
Message 11 of 17
(1,280 Views)
And in my experience it is usually better to set the control's enabled state to disabled (1) so it doesn't get the focus when you click it.

___________________
Try to take over the world!
0 Kudos
Message 12 of 17
(1,274 Views)
sweet I will go that direction. Is there also an alternative to an even structure? Thanks
Derek Tucker
derek@ponengineering.com
0 Kudos
Message 13 of 17
(1,272 Views)
The one reason I ask is how will this work if the even structure is in sub vi called by a main vi?
Derek Tucker
derek@ponengineering.com
0 Kudos
Message 14 of 17
(1,272 Views)
tst wrote:
I've done this both with and without an event structure and am regularly using the more recent version (the one with events).

*NEW* *IMPROVED* Event structure! Now with *EVENTS*
Smiley Very Happy Robot Very Happy :manvery-happy: :womanvery-happy:
Robot Very Happy




LabVIEW, C'est LabVIEW

Message 15 of 17
(1,266 Views)


@tetonedge wrote:
The one reason I ask is how will this work if the even structure is in sub vi called by a main vi?

Read the answers to this questions which you have already asked! YES!#^$%&@*
You can even handle events in the subVI for the main VI controls by dynamically registering for events, but the easiest thing is to have the subVI jump to the front and return the string once you're done. Go read a tutorial on this!

___________________
Try to take over the world!
0 Kudos
Message 16 of 17
(1,259 Views)
Try the event structure "mouse down event". This would do what you want.
0 Kudos
Message 17 of 17
(1,244 Views)