Jump to content

Any way to mix font/formatting in strings


Recommended Posts

I'm guessing the answer to this is No but I thought I'd ask anyway. I'd like to be able to mix a couple of "WingDing 2" font symbols (that very nearly match a couple of listbox symbols) in with the "application font" text used on a couple of boolean controls. The mixed fonts don't seem to survive when I close & re-open the VI. Is there a way to do this? (LV 7.1.1)

post-2800-1136312267.png?width=400

Link to comment

I'm guessing the answer to this is No but I thought I'd ask anyway. I'd like to be able to mix a couple of "WingDing 2" font symbols (that very nearly match a couple of listbox symbols) in with the "application font" text used on a couple of boolean controls. The mixed fonts don't seem to survive when I close & re-open the VI. Is there a way to do this? (LV 7.1.1)

post-2800-1136312267.png?width=400

That's odd. I've mixed and matched fonts in labels of controls without any problems. Dumb question, but did you make sure to make the current value the default before saving it? Have you tried it with other things - like maybe a label?

George

Link to comment
That's odd. I've mixed and matched fonts in labels of controls without any problems. Dumb question, but did you make sure to make the current value the default before saving it? Have you tried it with other things - like maybe a label?

George

It works with labels. It works with text strings that just sit on the front panel.

It just does not seem to work with Boolean Text.

"Making value default" does not affect it.

Link to comment
It works with labels. It works with text strings that just sit on the front panel.

It just does not seem to work with Boolean Text.

"Making value default" does not affect it.

It also doesn't work with text in string controls. I assume that LabVIEW does something with the data part of a control that makes the entire string use the font setting of the first character on reopening the VI.

Rolf Kalbermatter

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.