LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically open color palette

Hi!


Is is possible to open a color palette with clicking at a button?

I want to have a button of my design, not a color box.

The idea to create an event for my button : after clicking at it It should to open the color palette so that the user can choose a color and the decoration under my icon would change a color in order to inform user that color has changed.

Yeah... I could use color box and put my icon as a decoration in customize mode but then the area of my icon is unclickable

0 Kudos
Message 1 of 3
(2,797 Views)

If you want a sizable Square or Circle, you could use a Boolean (OK button, edited to remove the text, or LED) and set its Color properties and disable its "clickable" behavior.  You can also (of course) set the location programmatically ...

 

Bob Schor

0 Kudos
Message 2 of 3
(2,766 Views)

You could open a color dialog with .NET:

 

Open color dialog with NET.png

 

MS documentation page for reference.

0 Kudos
Message 3 of 3
(2,755 Views)