On a click of a button I’d like to increase the value in a text box or a combo but every time I get the message Value type is not numeric. How to use it as a number ?
Ah, yes, this doesn’t currently appear to be possible. Increment is typically used with numeric device attributes. The native datatype for a textbox text is a string so the current implementation is going to have an issue with that. This probably needs to be updated because this is a use-case that should probably work. For the time being, please use a virtual device variable as a placeholder until the issue is resolved.
I’m attaching an example just for my future reference when working on this ticket.
Increment_TextBox.hrp (7.5 KB)
1 Like