get indicator to change colour 
Author Message
 get indicator to change colour



Tue, 09 Dec 2003 03:29:45 GMT  
 get indicator to change colour
Adrian,
To change as you design the front panel, use the paint brush.
To programically change: Find the indicator on your block diagram and
create a property node (rt-click).  Then select the Numeric Text
Colors item & either Text or BG color (or both).  Wire in a Control or
Constant to pick the color you want.  Note: a good way to pick the
right color is to wire in a Color Box Constant from the
Numeric>Additional Numeric Constant vis.
You can have various colors (and other properties) vary programically
based on other values - depends how you program it.
Good Luck, Doug


Tue, 09 Dec 2003 03:55:59 GMT  
 get indicator to change colour
If the question is how to programatically change the color of an
indicator, then what you would do is create a property node for the
indicator and then wire a color box constant to the appropriate color
property. The actual property will be different for each
control/indicator type. For example, a Boolean's colors are defined by
a 4 element cluster array (foreground and background colors for 4
different states).


Tue, 09 Dec 2003 04:01:49 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. colour of blinking indicator different in .exe

2. ImageDraw.text gets colour wrong in PIL for GIF images

3. Change indicator for resources

4. VW2 Changing Background Colour

5. AbtHtmlTableColumn: change colour of heading?

6. Changing colour of fields on reports.

7. How to Change Title Bar colour?

8. Scrollbar Color or Colour Change in Clarion

9. how to prevent users from changing indicator value

10. Changing TextGadgets colour

11. changing background colour of an rc_graphic window

12. Colour Change

 

 
Powered by phpBB® Forum Software