Hi John,
I'm not able to reproduce your issue, atleast in isolation.
Can you try the attached project and let me know if that works for you?
If so then I think your issue is in the code itself. As a quick test, open up the uir, and go to tools>>UI to code converter.
Make sure it's generating an a completely separate .c file, and then check the generated code. They should show up as
errChk(SetCtrlAttribute (hPanel, PANEL_RING, ATTR_VISIBLE, 0));
and
errChk(SetCtrlAttribute (hPanel, PANEL_RING, ATTR_DIMMED, 1));
If they're not in there, then the .uir has possibly become corrupted.
Can you post a code snippet that shows it not working back here?
Thanks
Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer