LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wrapping text on Boolean buttons on Front Panel

Solved!
Go to solution

I have an example that shows the text actually wrapping on a Boolen button on a Front Panel.  How do you get the text to wrap?  I try to shriink the box width to force it to wrap, but it just snaps back.  I even went in to the properties and attempted to change the width, and it still pops back to fit the text on a single line.

 

Thanks

0 Kudos
Message 1 of 12
(4,769 Views)
Solution
Accepted by topic author djpritchard
Use Shift-Enter
0 Kudos
Message 2 of 12
(4,762 Views)
Thanks - were is that documented?  I did a search on "wrap" and "wrapping" and came up nothing.
0 Kudos
Message 3 of 12
(4,758 Views)

Sorry, I don't understand the question.

 

Placing a "<enter>" or "<shift><enter>" inserts a linefeed, which is not the same as "wrapping". Could you explain what you actually want?

0 Kudos
Message 4 of 12
(4,754 Views)
When I read the question, I interpreted it as meaning he wanted to break up the text into multiple lines which is the only thing that would make sense to me for text on boolean buttons.  You're right that enter does the same thing as a shift-enter.
0 Kudos
Message 5 of 12
(4,748 Views)
I thought I tried ENTER - but when I did SHIFT/ENTER it worked.  The question I was asking, is where is this documented in LabVIEW, but I guess the ENTER should always insert a CR - but again, for some reason it didn't seem to work for me. I
0 Kudos
Message 6 of 12
(4,709 Views)
  • If you simply type the boolean text directly in the front panel, ENTER is sufficient.
  • If you type the boolean text on the properties panel of the control, you need SHIFT-ENTER to force a new line, probably because the enter key is assigned to the OK button.

 

All clear? 🙂

0 Kudos
Message 7 of 12
(4,673 Views)

Clear as mud.  So again, back to my original question - where is this documented?

0 Kudos
Message 8 of 12
(4,639 Views)

I have no idea if it is documented anywhere in LV.

 

It is just one of those bits of computer knowledge you pick of after years of working with things like Excel and AutoCAD and any other program where you may need multiple lines, but enter is already reserved for another purpose.

 

I have yet to find where the "any key" is located on my keyboard.Smiley Wink

0 Kudos
Message 9 of 12
(4,637 Views)

Ravens Fan wrote:

I have yet to find where the "any key" is located on my keyboard.Smiley Wink


Right below the panic button. 😄

0 Kudos
Message 10 of 12
(4,624 Views)