取消
显示结果 
搜索替代 
您的意思是: 

Wrapping text on Boolean buttons on Front Panel

已解决!
转到解答

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 项奖励
1 条消息(共 12 条)
5,214 次查看
解答
已被主题作者 djpritchard 接受
Use Shift-Enter
0 项奖励
2 条消息(共 12 条)
5,207 次查看
Thanks - were is that documented?  I did a search on "wrap" and "wrapping" and came up nothing.
0 项奖励
3 条消息(共 12 条)
5,203 次查看

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 项奖励
4 条消息(共 12 条)
5,199 次查看
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 项奖励
5 条消息(共 12 条)
5,193 次查看
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 项奖励
6 条消息(共 12 条)
5,154 次查看
  • 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 项奖励
7 条消息(共 12 条)
5,118 次查看

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

0 项奖励
8 条消息(共 12 条)
5,084 次查看

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.眨眼表情

0 项奖励
9 条消息(共 12 条)
5,082 次查看

Ravens Fan wrote:

I have yet to find where the "any key" is located on my keyboard.眨眼表情


Right below the panic button. 😄

0 项奖励
10 条消息(共 12 条)
5,069 次查看