LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keep Focus On Button After Mouse Click

Solved!
Go to solution

Hello

 

I have a button in my VI that triggers a function. I would like to know how do I keep the focus on the button after click with the mouse on it? I am asking that because I want that after the first click the focus is kept on the button then I can activate the button with spacebar.

 

I know that I can reach the button by using "tab key" and then use spacebar, or I can set another key to toggle that button.   But the behavior that I am trying to get is: "after first click on the button for the first time, the focus will be kept on it and then I can use spacebar to activate the button".

 

Ideas?

 

Thanks.

 

Dan07.

0 Kudos
Message 1 of 2
(1,252 Views)
Solution
Accepted by topic author dan07

I found the solution. Using a property node, set KeyFocus to True.

 

Thanks.

 

Dan07.

0 Kudos
Message 2 of 2
(1,238 Views)