LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
JB

Partially disable the display styles of strings

Status: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

String display styles.jpg

 

If this were possible, I would sometimes disable one or two of the 4 available styles to keep only those which display the string in a useful way.

 

Example :

If using a string control to define the termination character of a serial communication, Normal Display and Password Display are useless but the two others are both very useful.

 

  • carriage return :
    • '\' Codes Display --> \r
    • Hex Display --> 0D
  • line feed :
    • '\' Codes Display --> \n
    • Hex Display --> 0A
3 Comments
Darren
Proven Zealot

Note from admin: This idea had previously been declined due to a misunderstanding of the run-time behavior of left-clicking the display style glyph. I have re-opened the idea.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

X.
Trusted Enthusiast
Trusted Enthusiast

While declined, the idea might be worth this comment: this appears to be a rather specific UI requirement.

The desired effect can be obtained by hiding the display style icon on the FP (which anyway might not be very clear for non LV users) and adding your own context menu to the string, offering the only two choices you want. The Display Style property can then be used to set that programmatically.