User | Kudos |
---|---|
4 | |
3 | |
2 | |
1 | |
1 |
CVI has this feature, almost every other UI library has it, too.
Only LabVIEW is missing the simple option to limit the number of characters that can be entered into a string control.
I know, it is possible to do this programmatically. But this is always a piece of extra effort I have to undertake, while the solution never looks really satisfactory.
Usually all I can do is react to the value change event of a control and cut what's too much. But this means the user sees some flickering, since the character is first drawn and the corrected version is drawn at a later time.
Side notes on how I think this should be integrated:
This should be an additional property for all string controls. For existing controls from older versions, the value should be set to it's default (-1), which means unlimited.
If activated, this feature should also cut the strings in VI input terminals to avoid "special behaviours" in this case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.