LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
silmaril

Option to Limit the Number of Characters in a String Control

Status: New

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.

1 Comment
JackDunaway
Trusted Enthusiast
This is a subset of Phillip Brooks' idea, here. I gave Kudos to both ideas, and I hope everyone who votes for this idea will also vote for Phillip's idea.
Message Edited by JackDunaway (mechelecengr) on 09-24-2009 01:44 PM