LabVIEW Idea Exchange

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

Collapse Lengthy String Constants to an Icon (like LV 2010 Clusters)

Status: Completed
Available in LabVIEW 2012

Large string constants, like to one shown below, can really get in the way. I would like to double-click the border and have it collapse, like the LV 2010 Cluster now does. Putting large string constants in a VI, or rolling them up, are some work-arounds, but this would be easier...

 

Collapse Text.jpg

 

                                 Double-Click the "text" icon to reverse.

Richard






23 Comments
Mark_Yedinak
Trusted Enthusiast

I really like this idea. If implemented though when the constant is expanded it shouldn't cause your block diagram to resize. The enlarged constant should appear over the other block diagram elements around it. This feature would be useless if everytime you expanded the constant your block diagram resized.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Broken_Arrow
Active Participant

Mark, agreed! When you re-expand it, the large string box should hover over the frames, structures, etc and have a shadow behind it if possible. I wish the Cluster feature did that.

Richard






dthor
Active Participant

Kudos for both the original idea and for the comment:

 


@broken Arrow wrote:
When you re-expand it, the large string box should hover over the frames, structures, etc and have a shadow behind it if possible. I wish the Cluster feature did that.

 

JackDunaway
Trusted Enthusiast

Here's a similar Idea: Need edit window for large string constants

And the related Idea for a cluster edit window: Need Edit Window for New Cluster Constants

ErnieH
Active Participant

I like it. Lets add another small popup like this that you can add some simple code inside of also.

crossrulz
Knight of NI

My kudo is contengent on having the edit window with it.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Ray.R
Knight of NI

I agree.. You need the edit window.

 

Kudos  😉

Minty
Member

You can already resize a string constant to be any size you like and you get a scrollbar so you can scroll through it. I don't really see any merits in this.

 

I'm not sure I like the idea of hiding text behind a glyph either. I much prefer at least some text visible which helps with code readability.

Broken_Arrow
Active Participant

>Minty said:

>You can already resize a string constant to be any size you like and you get a scrollbar so you can scroll through it. I don't really see any merits in this.

 

That's what I do on occasion, but when I want to read or edit the large string, I have to drag it over to some other area where there's enough room to expand it, read or edit it, then roll it back up *just so*, and by then the scroll bar is useless because I'm only seeing part of one line. Wouldn't a double-click be easier?? Especially if it hovers over existing frames when expanded.

 

You have reminded me of an important point: that you should be able to title the icon (or glyph as you call it). In my example above, I'd call the icon "Guardband Reminder".

Richard






Ray.R
Knight of NI

I'm in the same boat as Broken Arrow.

 

Once the string is written, it is seldom necessary to have such a large box. 

Now imagine if the feature was such that when you double click the Glyph (icon), it would open up a text editor window, wouldn't that be wonderful?

 

Oh wait.... that reminds me of an existing control...  Rich Text Box (??)  It's been a long time..