I want to accept a numerical value only when the key enter is pressed, but without using the event. How to detect the char "enter" with a numerical control?
That applies for a string control, I use a digital control. I want to determine when the user presses on the key return, but I do not find the means so that labview turns over me the ASCII chains of the digital control.
When the user edits a numeric control with a keyboard, its property "key focus" is true. When the user hits enter, key focus becomes false. Poll the property to latch the control valuse at the true-false transition. That won't work if the user modify the control using up and down arrows.
When the user takes the mouse to click elsewhere in the window, that ususally means that he is done with keyboard edition. Most user interfaces interpret the mouse click that way since the user really focus elsewhere in the window.