LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can a color box control be changed so that only 4 colors may be selected.

Solved!
Go to solution

Hello,

I wanted a color box to be used as a control so that when the user left clicks it, there are 4 colors that they can select which will dictate what the program will do.  Currently, left clicking on the color box brings up a variety of colors, and the only ones that I can control are the "User" colors, which I have modified to only show the four colors I want. 

However, the remaining color sliders and History colors etc are still displayed.  Is there a way so that only the four "User" colors can be displayed when clicking on the color box? 

 

Thank you.

0 Kudos
Message 1 of 4
(2,421 Views)
Solution
Accepted by topic author M. Bobby

Hi Bobby,

 

I would suggest using a picture ring instead. Here you can display just 4 (differently) colored rectangles to the user...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,420 Views)

I have made one of these before here it is hope it helps:

 

 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 3 of 4
(2,404 Views)

Thank you very much, the picture ring worked very well.

Harold unfortunately I don't have 8.6 and so couldn't view your file, but I think I have it figured out.  Thank you very much for your reply.

Message Edited by M. Bobby on 06-24-2009 03:00 PM
0 Kudos
Message 4 of 4
(2,397 Views)