How to modify Ring's background color via property nodes?

狂风中的少年 提交于 2019-12-13 19:21:35

问题


Assigning background color at edit time works for all ring controls except "System ring":

I am trying to modify the background color of a Ring control using the RingText.BGColor property node, but it doesn't work. It does work for a Numeric control though:

What's wrong?


回答1:


As explained by @shmicah, menu rings do not support dynamically setting of bgcolor. However, this can be "solved" by first creating a text ring and then replacing it (right click -> replace) with a menu ring. Interestingly, this method works for the "modern" and "silver" menu rings but not for the classic.

After replacing the text ring with a menu ring, the original code works as-is.

(LabVIEW 2013)



来源:https://stackoverflow.com/questions/48793777/how-to-modify-rings-background-color-via-property-nodes

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!