Jump to content

Setting default diagram free labels color


Recommended Posts

I've seen this somewhere a few years back but haven't been able to figure it out recently. I want to change my default free labels to have a light yellow background and a black border. I like that style for comments a lot. I thought this could be done via the LabVIEW options, but It's obviously not there. Then I remember someone created a palette item which you could drop on the diagram to do this. Any ideas?

This would be a great feature to have built into LabVIEW. But actually a better code commenting tool is sorely needed anyway.

Link to post
Share on other sites

I've seen this somewhere a few years back but haven't been able to figure it out recently. I want to change my default free labels to have a light yellow background and a black border. I like that style for comments a lot. I thought this could be done via the LabVIEW options, but It's obviously not there. Then I remember someone created a palette item which you could drop on the diagram to do this. Any ideas?

This would be a great feature to have built into LabVIEW. But actually a better code commenting tool is sorely needed anyway.

My version is set as you describe (yellow with a grey border for BD labels, LV 2009 and 10). My problem is that I can't remember how I did it an cannot change it back blink.gif. But it is possible :)

I'll have a play and see if I stumble across it again :P

Link to post
Share on other sites

My LabVIEW default is yellow with black border. I think there is an option to toggle between transparent and the above. Anyways, I have a package that contains various comment styles amongst other things. I even have one called 'JKI comment' which is the bold title with plain text comment underneath, all centered. I really like that one. Crelf told me to use the OpenG one though, cause that's what real programmers use :)

  • Like 1
Link to post
Share on other sites
Crelf told me to use the OpenG one though, cause that's what real programmers use :)

tru dat, boy howdy. Yes, I use the OpenG freetext label for comments, although I'd prefer its default text to have no spaces so a simple double click selects everything between the /* & */ and I can start typing to replace it (Hint: suggestion for the next release of the OpenG Strings package).

post-181-0-73400000-1296147868_thumb.gif

Back to the issue at hand - if you change the font settings with nothing selected it will persist for all new freelabels. I'm not sure how to do the background colors.

Link to post
Share on other sites

Actually, it is. In the BD page, there's a transparent free labels check box.

Aaaah! Seriously? thumbup1.gif

That's it. I just never clicked on that setting before. I just assumed that if it wasn't transparent then it would be white. I guess at some point in the past, NI decided to make free labels yellow. Because I swear they used to be white with black borders.

Anyway. Thanks for forcing me to try it.

Link to post
Share on other sites
I think there is an option to toggle between transparent and the above.

Actually, it is. In the BD page, there's a transparent free labels check box.

Thats pretty much what I said... and I get no kudos :(, shucks...

(Hint: suggestion for the next release of the OpenG Strings package).

Noted.

Link to post
Share on other sites

Thats pretty much what I said... and I get no kudos :(, shucks...

Ok, I gave you a kudo too.

It's one of those things where even though I read something over and over book.gif, it takes the right set of wording or mindset to just make it "click" in my mind... or maybe I'm just getting old. unsure.gif

Link to post
Share on other sites

Join the conversation

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

Guest
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.