Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to change color for a custom graphic when a the state is changed

0 views
Skip to first unread message

HJH72

unread,
Jul 19, 2008, 4:40:08 PM7/19/08
to
I have a custom graphic created in corel (WMF).  I inserted the graphic in the control panel.  The custom graphic symbolizes a piece of equipment.  My objective is to change the color of the piece of equipment  depending if it is on or off.  For example, when it is on, I want the custom graphic to be green.... when it is off the graphic to be red.
 
Hank

Ryan.S

unread,
Jul 20, 2008, 10:40:08 PM7/20/08
to
Create two wmf files. One is green, another is red. Use MultiState object to switch color between ON and OFF.
 
You can also just use the Switch object with custom display. Select the green wmf for the On state, the red for Off state. The difference here is that you can click on the graphics, because it is a control.

Hill1221

unread,
Jul 27, 2008, 8:40:07 PM7/27/08
to
Make the color change part of the graphic a basic color like Black.
Select the area of the desired change and designate it as transparent.
Place a pipe object on the panel behindit, that changes the solors as desired.
0 new messages