Help with colors on Crimson 3 graduated button

secs

Member
Join Date
Aug 2015
Location
Office
Posts
65
Hi all.

I am missing something easy I think but cannot see the timber for the trees.

I have 20 graduated buttons on a page using crimson 3.
All the same color.

I have a tag that can have a value of 0 to 19 (reresenting the last button pushed

If the value is 0 then I need button 0 to be a different colr, if its 1 then button 1 is a different colr

SO I told the coplor part to be 2 state

I have been toying around and googling stuff but just cant see the answer

So for button 0 I tried
if ColorTag == 0 and thus it would be true of Colortag was 0 and false if 1 to 19

Then I was going to simply add the code to each button as in for button 1
if ColorTag == 1

So my eyes are hanging out of my head so will someone give me a shove in the right direction please :)
 
Sorry guys. My mistake. I was trying to return a true false statement instead of a color. I am off to my sleeping bag now for a few hours kip to recharge the batteries. I now have 20 buttons and when one is selected, it has a different color than the rest. extremely happy with myself and with all of your help :)
 

Similar Topics

Hello everyone. Could someone please assist me? I am using Citect version 7.2 service pack 5 and Windows 7. I have created a project...
Replies
0
Views
100
Hello, I'm not sure if anyone can help me. I made a big mistake by pulling out the battery to swap it with the machine turned off, and as a...
Replies
0
Views
68
I've adjusted the IP of the Panelview Plus as well as the DNS servers; the screen does not show up in the search when I go to the transfer utility...
Replies
7
Views
215
Hi Everyone, I own a GE Versamax controller that I purchased for a class at Long Beach City College a couple of years ago. I lost the use of my...
Replies
12
Views
354
I was wondering if anyone could help i am trying to use a SLC 500 with a 5/05 processor to set up an incremental encoder to a HSCE2 card? The card...
Replies
2
Views
198
Back
Top Bottom