10-21-2007 03:31 AM
10-21-2007 03:58 AM
10-21-2007 04:57 AM
01-11-2008 06:51 AM
John,
Your solution works if you have a direct reference to an numeric control and wire it to a property node.
What I'm trying to do is selecting a specific control programmatically using the control name (one of the numeric controls on the frontpanel), and if it's value is less then 0, change it's color to red (for example).
Don't look too much at the part at the top of the block diagram but more to the lower right corner (where the wire is broken). I'm coming in with an array of controls, find the one that is named "..." and put a value in it. This is all the upper (pink) part does.
As you can see, i'm ending with a 'Ctr' and this control has only color funcions for the label and the caption and not for the data. I tried a few things (like realy specifying a numerical, as shown), looking in the invoke nodes, ... but I can't find and BG color for the text.
01-11-2008 07:10 AM
01-11-2008 07:36 AM - edited 01-11-2008 07:44 AM
Top is Modern
Middle is System
Bottom is Classic
All String controls. The Modern & Classic string controls can have their background (text) color changed by the Property Node. Not the System (don't know why 😞 )..
Although there is a property available for the System String control, you cannot change the BG color property at run-time (you can try and will get an error message) 😉
01-11-2008 07:49 AM