08-20-2018 01:45 PM
Hey all,
I'd like to disable to the ability to type-in numeric entries on my numeric control. Instead, I want to force the user to utilize the increment/ decrement arrows and manually adjust their desired setpoint up/ down from my default value. I'm sure this is a simple solution but can't seem to figure it out. Thanks!
Solved! Go to Solution.
08-20-2018 01:51 PM
You could put a "Key Down?" filter event in an event case, and always reject it.
08-20-2018 02:10 PM
Hi PFour,
1. Place a (transparent) decoration over the numeric value. Now the user cannot click the value of the numeric control, only the arrows are selectable. (This only works when the user doesn't use the keyboard with tabbing to reach that numeric value.)
2. Place only two boolean buttons, customized with up/down arrows. Use their value change events to change your setpoint and display the setpoint in an indicator next to your buttons. (This use case is mainly intended for touch screens where you need bigger arrow buttons anyway.)
08-20-2018 02:59 PM
Thanks GerdW -- gotta say, I'm a bit surprised that there isn't an actual setting to add further control on how the value can be edited. Oh well, I think the first solution should work well for me. Thanks!
08-20-2018 05:30 PM
@GerdW wrote:
Hi PFour,
1. Place a (transparent) decoration over the numeric value. Now the user cannot click the value of the numeric control, only the arrows are selectable. (This only works when the user doesn't use the keyboard with tabbing to reach that numeric value.)
You can skip tabbing to the numeric control from the control's key navigation property page.