11-19-2021 03:49 AM
Environment : Labview 2021, UI control suite : NI Themed custom control suite (1.0.0.2)
Hello, there !
I am doing a simple task that is changing a color of LED (from NI Themed custom control suite) on button action but unfortunately i don't know why on button action there is no customized color showing that is it showing only default colors. can you guys suggest how to do that?
Troubleshooting which i did:
1. Changed the version UI control suite : NI Themed custom control suite (1.0.0.1)
2. Solution that mentioned here
11-19-2021 07:11 AM - edited 11-19-2021 07:11 AM
That particular control *1 doesn't use any of the colors in the "Colors[4]" *2 properties. It has 4 picture items that define its appearance *3.
*1 and probably all of the booleans in NI Themed custom control suite
*2 The "Colors[4]" property can actually have 6 colors: [0]: False, [1]: True, [2]: T -> F, [3]: F -> T, [4]: F (rollover), [5]: T (rollover)
*3 See "Creating Custom Controls, Indicators, and Type Definitions"