LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pressing the ENTER key in first tab --> a button in another tab is pressed?

Solved!
Go to solution

Hi guys, 

I am facing a problem. I have a tab with 4 different tabs. When I am in the first tab, and trying to change a control's value by pressing the Enter key, it suddently switches to the seconds tab and presses a button there. 

 

Any idea how that happens? I want to prevent that from happening. 

 

Thank you

0 Kudos
Message 1 of 6
(3,376 Views)

Post some code, I'm sure someone would take a look at it. 

 

-Ian

0 Kudos
Message 2 of 6
(3,368 Views)

Sounds like you have the enter key assigned to some key navigation of another control. This is a general problem with the OK button of the system palette. Here is more information.

Message 3 of 6
(3,365 Views)
Solution
Accepted by Klimovitsky

Check your tab order, and check that the control that's being activated doesn't have a key shortcut tied to it.

 

 

Message 4 of 6
(3,354 Views)

Thanks. 

Sometimes a search does not find the right post. 

 

Thanks. The button that was activated had the Enter key attached to it in the key navigation. 

 

I right clicked on the button>> Advanced >> Key Navigation >> and set the Focus and Toggle to None. 

 

Cheers and thanks

0 Kudos
Message 5 of 6
(3,329 Views)

Been there, done that, will probably do it again next week. Smiley Very Happy

It's a tricky problem if you're low on coffee ...

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 6
(3,323 Views)