06-15-2015 04:47 PM
Solved! Go to Solution.
06-15-2015 05:04 PM
You can do that with string controls by selecting Update Value while Typing. Each character entered then will generate a Value Changed event.
You could do some validation to reject non-numeric characters and then convert the string to a numeric value.
Lynn
06-15-2015 05:26 PM
The property you want is the "Text" property instead of the Value property. For a numeric control, this is the "Numeric Text.Text" property.
06-15-2015 05:47 PM
In addition to what nathand said, he's perfectly correct.
If you need to catch an event in the event structure, instead of "Value change" you better handle the keydown event and take the Numeric.Text property so the Value property won't be changed yet but you'll have access to what's shown on the control.
If you do what johnsold said, then the value will be updated after each character, this applies only for string controls.
06-15-2015 07:45 PM
06-16-2015 07:12 PM
This worked out very well! I put the following code into a KeyUp event case that I'd dynamically registered with the references to all the controls I need to watch:
It works very elegantly in practice. Thank you again!