i need some urgent help. I have created a simple windows app- the idea is that there are 5 lights that are all of to begin with, and then turn on as you click the Next button, one after the other (as in, they go from black to yellow).
Now, my idea was to use a variable, state, that has values 0-5- with each click increasing the value of state by 1. I then plan to use a case step causing the visual changes to happen depending on the value of state.
here's an exmaple:
case '1' : Shape1->Color = clYellow; break;
It's coming back with an "undefined symbol 'Shape1'. I'm a beginner so have no idea what you can and can't use within case statements within event handlers.
I'm using Borland C++ Builder 5 if that helps.