06-04-2015 10:36 AM
Hello,
I have a Table control (Labview 2013 SP1) and have made the following assumption....
1.) When I modify the text in a cell and press the "Enter/Return" key I will get a "table change" event
What is really happening is that the position in the cell moves down one row and I do not see a table change event. However when I modify a cell and use the "tab key" everything works that way I want it to. So is there a way to have the "Enter/Return" key function just like the "Tab Key" in a table control?
I am trying to avoid having to trap a "key down state" in the table and figure out what key way pressed and/or compare the old and new values to update the edit position.
06-04-2015 11:05 AM
Hello,
I am getting a "Table change" event when I press the enter key, however the "Edit position" property node is set to (-2,-2) which is not the cell location that I edited
06-04-2015 11:19 AM
06-04-2015 11:27 AM
Check your LabVIEW Environment Options; the option 'End text entry with Enter key' is normally not checked. This default behavior places a CR/LF in your control, rather than ending the entry.
06-04-2015 11:43 AM
Hello,
I will check the box in the environemnts setting just to see how it works. However changing the environment settings will apply to everything I do and it will also not be part of the code for this specific project. Is there a way to programtically do this?
06-04-2015 12:11 PM
Hello,
I decided not to use this option (if it worked) because it would affect every project and/or code that I worked on. This would be difficult to have others being able to work and/or support the code