From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ATTR_DIMMED (ring items)

Solved!
Go to solution

Hello,

 

I am confused (getting old)... I want to dim the last item in a ring control.

I had this in my wish list and according to my book keeping it was not yet implemented, at least I could not figure out how to accomplish it. On the other hand, the release notes of CVI2012 claim on page 9 that this attribute has been added...

 

Who can help?

 

Thanks!

Message 1 of 3
(3,523 Views)
Solution
Accepted by topic author Wolfgang

Effectively as of CVI2012 you can use SetRingItemAttribute (panelHandle, PANEL_RING, index, ATTR_DIMMED, 1); on a ring item to dim it. You can also hide it or print in bold.

It has never occurred to me! Smiley Surprised

...and apparently also the person in charge of that idea has missed it! Smiley Wink Smiley LOL

 

Thanks for pointing us to it!



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?
Message 2 of 3
(3,494 Views)

Many thanks Roberto,

 

SetRingItemAttribute SetRingItemAttribute SetRingItemAttribute SetRingItemAttribute - I will try to remember it Smiley Happy

0 Kudos
Message 3 of 3
(3,485 Views)