LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ColorChangePopup

I wanted to have a color pallet popup. I think that colorchangepopup may be able to do that, but I do not know what I need for the arguements, or exactly what colorchangepopup does.
0 Kudos
Message 1 of 3
(3,074 Views)
Well, ColorChangePopup is a rather complicated tool that needs some explanation to be used.

Take a look at the attached project: it is a simple program that operates on three text messages on the panel and changes their background and foreground colors via ColorChangePopup: you can use it as a starting point to approach this function. Obviously, it must be adapted to your application.

Basically, ColorChangePopup accepts a list of changeable colors and a callback that operates changes on desired elements; the list of elements to operate on is to be passed to the function too: I simplified the code scanning all controls on the panel and operating only on text messages, but you will need to adapt this sample to your actual application.

Hope this helps
Roberto

Message Edited by Roberto Bozzolo on 05-07-2005 12:00 AM



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,068 Views)
Thanks that was a big help
0 Kudos
Message 3 of 3
(3,051 Views)