Michael Aivaliotis Posted January 27, 2011 Report Share Posted January 27, 2011 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. Quote Link to comment
ShaunR Posted January 27, 2011 Report Share Posted January 27, 2011 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 . But it is possible I'll have a play and see if I stumble across it again Quote Link to comment
jgcode Posted January 27, 2011 Report Share Posted January 27, 2011 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 1 Quote Link to comment
crelf Posted January 27, 2011 Report Share Posted January 27, 2011 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). 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. Quote Link to comment
ShaunR Posted January 27, 2011 Report Share Posted January 27, 2011 cause that's what real programmers use You mean C++ ? Quote Link to comment
Yair Posted January 27, 2011 Report Share Posted January 27, 2011 I thought this could be done via the LabVIEW options, but It's obviously not there. Actually, it is. In the BD page, there's a transparent free labels check box. 1 Quote Link to comment
Michael Aivaliotis Posted January 27, 2011 Author Report Share Posted January 27, 2011 Actually, it is. In the BD page, there's a transparent free labels check box. Aaaah! Seriously? 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. Quote Link to comment
jgcode Posted January 27, 2011 Report Share Posted January 27, 2011 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. Quote Link to comment
Michael Aivaliotis Posted January 27, 2011 Author Report Share Posted January 27, 2011 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 , it takes the right set of wording or mindset to just make it "click" in my mind... or maybe I'm just getting old. Quote Link to comment
jgcode Posted January 27, 2011 Report Share Posted January 27, 2011 Ok, I gave you a kudo too. Thanks mate! I am just trying to keep up with Shaun 1 Quote Link to comment
ShaunR Posted January 28, 2011 Report Share Posted January 28, 2011 Thanks mate! I am just trying to keep up with Shaun Here's one from me then I wouldn't worry too much. If rep points could be taken away; I'm sure there'd be a minus sign in front of mine Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.