LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fixed size Table Control: prevent "scroll on Enter" behavior

Solved!
Go to solution

I have a table control which will always be 6 rows by 8 columns.  I wish to prevent the display from scrolling which would display one or more blank lines at the end of the table.  

 

I have tried turning off "Selection Scrolling" in the right-click menu and disabling "Show vertical scroll bar" under Properties - Appearance.  However, even with both of these settings, if the user makes an entry in the last row and presses the Enter key, the table scrolls up one line and exposes a blank row at the bottom.

 

Is there any way to suppress this behavior?

0 Kudos
Message 1 of 3
(5,103 Views)
Solution
Accepted by topic author mistercat
Message 2 of 3
(5,099 Views)

Your suggested solution looks doable but is more complex that I had hoped (all scrolling OFF, for instance).  I think the change-all-"Enter"-to-"Return" version is what I am looking for because users will be changing very few entries and I never want Enter to put the cursor on the next row.

 

Thanks for your quick response and pointing me to a thread rather than just your solution.

0 Kudos
Message 3 of 3
(5,094 Views)