LabVIEW Idea Exchange

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

VI Analyzer Test - Limit to Single Line on Strings

Status: New

Any single-line string on a user interface VI should have the "Limit to Single Line" option selected.  Users will expect that pressing 'Enter' on a single-line string will commit the value, and not add multi-line content that they cannot see.

 

I propose a VI Analyzer Toolkit test that checks for this scenario called "Limit to Single Line on Strings".  The test would return a failure under the following circumstances:

 

  • It is determined to be a user interface VI.
  • It has a string control set to the minimum possible height for one line of text.
  • That string control does not have the "Limit to Single Line" option selected.

If these conditions are met, the test would return a failure, and recommend the user enable the "Limit to Single Line" option on that string.

3 Comments
Romain.P
Member

Good idea! Is it already available since this time?

Darren
Proven Zealot

This test has not been implemented for the VI Analyzer Toolkit, and from what I can tell, is not provided as a community test either.

Romain.P
Member