Support Board
Date/Time: Thu, 09 Jan 2025 19:25:58 +0000
Post From: Display Inputs With Color
[2016-08-05 17:54:21] |
ManFromTanna - Posts: 6 |
Hi All, There doesn't seem to be a way to display a system's inputs with color. So below was a bit of a workaround. Only problem is I can't figure out how to get rid of ": 0.0". Any suggestions? Thanks. SCSubgraphRef LongLabel = sc.Subgraph[1];
SCInputRef Long = sc.Input[1]; Long.Name = "Long"; Long.SetCustomInputStrings("Long;No"); Long.SetCustomInputIndex(0); if (sc.SetDefaults) { if(Long.IntValue == 0) { LongLabel.Name = "Long"; LongLabel.PrimaryColor = RGB(0,255,0); } else { LongLabel.Name = "No"; LongLabel.PrimaryColor = RGB(255,255,255); } |
Input Display.PNG / V - Attached On 2016-08-05 17:54:00 UTC - Size: 589 B - 230 views |