LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String text / bold font

When using a string text to a concatenate, is there any backslash code that will make the text bold in the string box?  Sorry if this is a rookie question, but I just started with Lab View. 
0 Kudos
Message 1 of 10
(12,491 Views)
If you need to set only part of the text you may use a RichTextBox.  You can customize any part of the text.
 
R
Message 3 of 10
(12,457 Views)

Just to jump into this bandwagon. I get that the String indicator will show string or information in BOLD. What if I want to send that string to a file or a balloonTip as BOLD characters? In essence, how to make the String Value completely in Bold font?

I may not be perfect, but I'm all I got!
0 Kudos
Message 4 of 10
(11,413 Views)

@VeeJay wrote:

Just to jump into this bandwagon. I get that the String indicator will show string or information in BOLD. What if I want to send that string to a file or a balloonTip as BOLD characters? In essence, how to make the String Value completely in Bold font?


There is no single answer to this question. It depends on where you are sending the data and how that application does it's formatting. There is no universal method for storing information regarding test formatting. Should you send it as PDF, HTML, MS Word or name any other format. ASCII itself, as well as Unicode, do not convey formatting information, only content.

 



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
Message 5 of 10
(11,407 Views)

What do you mean by sending it to a file as bold? This doesn't make much sense.

 

As for the tooltip, I know of no way of doing that.

0 Kudos
Message 6 of 10
(11,405 Views)

@VeeJay wrote:

I get that the String indicator will show string or information in BOLD.


Which is because the Bol;d property is set for the string indicator, or are you using a Rich Text Box?

 


@VeeJay wrote:

What if I want to send that string to a file or a balloonTip as BOLD characters?


To a file?  Well... if it's a text file, you won't be able to set the bold property.  If a RTF or DOC or other formatted file, then you would have to deal with how it requires to be done.  The quick answer would be ActiveX.

What do you mean by baloonTip?  (I know what it is, but are you referring to one from LV {tooltip} or another app?)

 


@VeeJay wrote:

In essence, how to make the String Value completely in Bold font?


You would set it's property to bold.  Again, are you referring to an indicator in LabVIEW or something else?

 

0 Kudos
Message 7 of 10
(11,402 Views)

I display all my errors on BalloonTips on system tray icon of my application. THe message has regular formatting. Any change I make on its property like Font/Size reflect only on the String indicator.

 

I want the message appearing on the BalloonTip or the message that I save to a File in BOLD font. That's what my question is. It looks like there may not be a way to do that.

I may not be perfect, but I'm all I got!
0 Kudos
Message 8 of 10
(11,400 Views)

BalloonTip as in Windows BalloonTip that displays notifications on system tray icons. I am trying to show the message in BOLD font. But, all I get is regular font

I may not be perfect, but I'm all I got!
0 Kudos
Message 9 of 10
(11,396 Views)

For the file I think you are out of luck. At a minimum you would have to go through some interface which allows you to generate the file in a format that supports formatting properties.

 

For the balloon strip you may experiment and see if it accepts HTML formatting. Try sending something like <b>your message<\b> to it and see if it bolds it.

 

As stated above, there is no universal way to accomplish what you want. It will depend on where the message will end up and how that application handles formatting properties.



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
0 Kudos
Message 10 of 10
(11,389 Views)