LabVIEW Idea Exchange

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

Keeping string formatting

Status: Declined
Note Aristos Queue's comments below.

I'll like some way of telling LabVIEW when to inherit my string formatting (bold, color, font, fint size...)

 

The classic example is the dialog VIs included in LabVIEW:

 

string_in_dialog_exp.PNG

 

Sorry for mispelling "italic".

www.vartortech.com
3 Comments
SteveChandler
Trusted Enthusiast

Another similar idea here and a related idea here. I am pretty sure there are others in this area.

=====================
LabVIEW 2012


AristosQueue (NI)
NI Employee (retired)

Enrique:

 Your request is not possible with a plain string data type. LabVIEW wouldn't ever pollute the concept of a string with our own encoding of fonts, styles, etc. There are thousands of encodings for such information out in the world -- some would embed the encoding into the string itself, others carry the encoding information in a cluster alongside the string. You need some more complex data structure to include encoding in the string and then you need a display function capable of interpreting the encoding. 

 

The One and Two button dialogs are system dialogs supported by the various operating systems. Those system dialogs do not support any font information to the best of my knowledge. The Three Button Dialog.vi does support such encoding for the <b> and </b> tags, and you can adjust the VI to know about other encodings if you wished to do so.

JordanG
NI Employee (retired)
Status changed to: Declined
Note Aristos Queue's comments below.