> I would like to have an array of booleans (16) which shows if the
> line (from 1..16) pass some test. When test is passed the lamp is
> green and when fails is red. After the test within the same
> program I would like to click on the failed lamp and run the same
> test only for this line as many times as I would like to. Could
> you give me some hints how to do this.
> I am not sure if I put myself clearly, and if though I will
> explain with more details.
> thank you in advance.
>
I'm not sure what you would like help with, but the
first thing is to build the red and green Boolean button.
Place the button in an array and wire it to show the value of
your tests. For the user input, I'd recommend making a copy
of the array, make it a control, and go about
making it transparent.
You will need to color multiple pieces in order to accomplish this
and it might be easiest to drag the button out, color, then place it
back. Finally, overlap the visible with the invisible and group them
together if you like.
Greg McKaskle