Past NIWeek Sessions

cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing NI LabVIEW Controls and Indicators

The LabVIEW control editor lets you modify how the built-in controls and indicators look. Walk through what you can do with the control editor, how to do it, and a behind-the-scenes look at how they created the new "Silver" control theme in LabVIEW 2011.

The attached "New 2011 Decorations.vi" includes the new decorations in LabVIEW 2011, which were used to make the Silver controls. Note that the gradients do not support transparent end points. Also note that the gradients and anti-aliasing of these decorations are only present on Windows.

Comments
flarn2006
Member
Member
on

The "secret INI token" mentioned in the presentation is "enableSecretPopups=True".

This is what Christina Rogers said about it:


enableSecretPopups - I put this token into LabVIEW 2011 for Silver control development, as a quick-and-dirty way to make low-level control edits. I've been giving it out to people on a very limited basis, but I guess since it's out here I'll widen the audience.

 

I show a screenshot of the new menu items in https://decibel.ni.com/content/docs/DOC-17431 [redirects to the page you're on right now]
 
Once this token is enabled, you'll be able to see the settings on parts of the Silver controls to get an idea what they do. eg "Left Move" means the part will move left when its "master" part changes size via moving its left edge. "Left Grow" means the part will scale in that situation. Setting both the left and right move options will make the part stay centered.
 
There are clearly combinations that don't make any sense and I suspect LabVIEW will behave badly if you use them.
 
I recommend that you disable the token when you're not using the Control Editor, because it also enables other menu items that are not ready for prime time and you might use them later without realizing they're only there because of this INI token.

 

Contributors