12-20-2016 09:52 AM
Hi,
I tried to change the color of an item in a ring control using the following syntaxe
ReplaceListItem (MeshedTabHandle, MESHED_MATERIAL_LIST, 3, "\033fg0C0C0 SAVE", -2); and I got the following result:
What did I wrong?
I'm using CVI2013 SP2
Solved! Go to Solution.
12-21-2016 01:56 AM
As far as I can understand, colouring elements can be done in list boxes only. The only option you have for ring controls is creating a separator line. Even SetRingItemAttribute does not list colouring option.
12-21-2016 02:23 AM
In fact I just wanted to change the color to simulate a dimmed item, so SetRingItemAttribute is fine.
Thank you.
12-21-2016 02:44 AM
You're welcome!