SetControlColors
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Sets the background and text color of: certain panel controls. The panel is accessed by its individual panel name that is entered in the Panel Designer.Parameters
-
panel: Panel name, restricted to 128 characters.
""– references all loaded panels. -
control: Name of the control, restricted to 128 characters. You can only activate/deactivate the control with its name. If you want to use the name of a symbol (signal or system variable) you have to ensure that the control has no name instead of the individual control’s name.
- The form for signals is:
"Signal:<signal name>". - The form for system variables is:
"SysVar:<name of system variable>".
""is used. Example:"Signal:SleepInd""Signal:easy/MotorState/EngineSpeed""SysVar:SysVarTester"
- The form for signals is:
- backcolor: Color value (e.g. calculated by makeRGB). Note makeRGB:
- textcolor: Color value (e.g. calculated by makeRGB).