07-18-2016 03:06 AM
Full credit to the users on LAVA: https://lavag.org/topic/18469-i-found-some-more-hidden-ini-keys/
A hidden set of menus that may be of use when creating custom controls.
These only become available with the secret popups ini key set to true and when you are in the control customise mode.
The menus change depending on the main control type being customised.
Customise mode:
Added menus when right clicking a decoration of a cluster contol:
Image | Raw text (for search indexing) |
---|---|
Keep Away Move Left Move Right Move Top Move Bottom Move Left Grow Right Grow Top Grow Bottom Grow Left Prop Grow Right Prop Grow Top Prop Grow Bottom Prop Grow Aspect Grow Slave to Frame NoSelectMask NoGrowMask NoTrackMask |
Credit source
07-18-2016 05:25 PM
Example usage attached. Resizable control using 9 slice scaling.
No pixelation on resize. LV11 onwards.
07-18-2016 05:38 PM
There is also a "Non-colorable boolean decal" option that shows up on decals, which lets you color the object underneath the decal.
07-18-2016 05:49 PM
I cannot believe that NI has not opened the 9-slice button for the masses. I have wanted this for years.
07-19-2016 02:21 AM
I can't seem to find that one. I've tried importing an image from the clipboard and file to replace a button element, but no luck.
I see what you mean now after viewing these: https://decibel.ni.com/content/docs/DOC-17431
07-19-2016 02:28 AM
I know right! The same with loading and displaying images with 8bit alpha channels at runtime. It would oen up so many more possiblilities with that.
I wonder if it's theoretically possible to generate contols similar to the silver set that seem to support vectors with anti-aliasing. Or if those items are hard coded into LabVIEW.
https://lavag.org/topic/9749-labview-vector-format/
07-19-2016 12:45 PM
What is this ini key? And can you possibly update the guide to give a walk through on how you created your example 9 slice?
"I won't be wronged. I won't be insulted. I won't be laid a-hand on. I don't do these things to other people, and I require the same from them." John Bernard Books
07-19-2016 04:52 PM
I've updated the original post to include a link to the source (I'd originally set all of the keys a long time ago and forgot about their effects).
I will try and produce a guide in the next few days.
09-26-2017 01:24 PM - edited 09-26-2017 01:27 PM
For the record, I found also (LV2017)
Slave to Housing (slider)
Disconnect decoration (Silver multicolumn listbox)
rather than peeking yet another and another one, Is there btw a semipublic description of how to put all this tags to good use? There are many which at first I can't guess what they are for, like all the Prop Grows.
09-26-2017 03:12 PM
@Enrico_Segre wrote:
like all the Prop Grows.
Proportional Grow, so if something covers only part of the control, it will grow in proportion.