LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Select the value inside numeric control after clicking on it (perform double click after one click)

Solved!
Go to solution

Hi

I want to speed up the process of filling couple numeric controls by user.

When he click on the control (let's say he doesn't know about tabbing) I want the value inside to be selected, so that he doesn't have to delete value inside to enter a new one.

What should I put inside Mouse Down event to perform this selection?

I couldn't find selection in invoke node. Is there something like that?

 

Or using AutoIt to perform another click is the only way to go?

0 Kudos
Message 1 of 2
(3,105 Views)
Solution
Accepted by topic author siadajpan

Use the MouseDown? filter event and wire a True to the Discard data node on the right side.  Inside, wire a True to the KeyFocus property of that control.

 

Message 2 of 2
(3,061 Views)