Any idea that has not received any kudos within a year after posting will be automatically declined.
At least numeric controls and string controls loose focus after pressing enter. This is especially unpractically when navigating by key. The focus should be held on all controls as it is on boolean controls.
You can use a property node and key focus if that is what you are talking about. I think i am not getting the focus difference between a boolean and numberic control. Can you explain a bit more?
In run mode, navigate to a numeric control by pressing the tab key. Enter a value and accept it by pressing enter. The control looses the focus. When you want to change the value again you have to navigate to the control. With string controls the focus is lost too when the value is accepted.
Now navigate to a boolean control by pressing the tab key. Toggle the value with the space key or with the enter key. The focus remains on the control.
I hope my explication is understandable now. If not I will retry it.
Imagine you decide to use the keyboard for controlling a LabVIEW program. Maybe you have no mouse and your laptop has a tiny little touch pad. Maybe there are a lot of controls you want to fill in and you do not want to always change between mouse and keyboard. Or maybe the customer told you to do so.
Anyway, you want to change the value of a control by keyboard. You press ten times tab for navigating to the control and type the new value. Because you want to see the result you press enter to accept the change. Now you want to try a different value. Because the focus is lost you press tab ten times to set the focus to the control, type the new value and ...
It would be much easier when the control would keep the focus. Then you could enter the value without navigating to the control again.
When you change the value of a Boolean control, it works like this. Why are there two behaviors? This seems unclear for me and
I implemented a workaround but it is a lot of work if there are many controls.
An other workaround would be to tell every customer to press tab and then shift tab instead of enter.
Any idea that has not received any kudos within a year after posting will be automatically declined.