Axelwlt Posted November 26, 2019 Report Share Posted November 26, 2019 When the cursor in the numeric field of a numeric control is for example after the 10s/100s digit, the increment/decrement buttons have a step of 10/100. How can I prevent that? I always want a step of 1. I tried setting the Data Entry Increment property to 1 but that did not change this behaviour.. Quote Link to comment
Zou Posted November 27, 2019 Report Share Posted November 27, 2019 Put a transparent decor on the numeric control, partially block the button, so that user can only click the up/down button. Quote Link to comment
Axelwlt Posted November 27, 2019 Author Report Share Posted November 27, 2019 Thank you for the idea but I also would like to let the user enter the value with the keyboard. Quote Link to comment
Francois Normandin Posted November 27, 2019 Report Share Posted November 27, 2019 I believe the only way to do what you want is to catch the keyboard "arrow up" and "arrow down" events, discard them and programmatically increment or decrement the control value. (LV2013) ArrowUpDown_UnitIncrement.vi Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.