04-04-2006 12:53 PM
04-04-2006 01:43 PM
04-04-2006 01:50 PM
04-04-2006 02:38 PM
Alright, I see what you mean about a table. But, now when I try and use the CellBGColor property, to set the color, I keep getting an error.
I am assuming I just have to set the active cell using the ActiveCell property node, then wire a color box into the CellBGColor property node.
Is this correct?
04-04-2006 02:44 PM
04-04-2006 02:47 PM - edited 04-04-2006 02:47 PM
Yes Sir!
Special index values are also available for the row and collumn headers as well.
-1,0 is Row "0" row header
-1, -2 Is all row headers
-2,-2 is everything!
Let me know if I flip-floped my row and column values.
Ben
Post Conflict! Andrew wins!
Message Edited by Ben on 04-04-2006 02:47 PM
04-04-2006 02:49 PM
04-04-2006 03:55 PM - edited 04-04-2006 03:55 PM
Get rid of all these sequences! That's just bad form. 😉
Your code has a few logical problems. Why do you create a boolean array if you later only look at the last element (Yes, the FOR loop does nothing useful, except in the last iteration because your outputs are not indexing. All other iterations are useless, you only get the result of the last array element. My guess is that you want to color the index white if at least one of the numbers is out if range. Right?
It is an absolute nightmare to manage all your numeric labels. Just read them from a 2D array. Now you can simply find the index of the matched elements and don't have to spend hours editing case structure conditions. 🙂
Attached is a simple example how you would do what I meant (LV7.1). Modify as needed. 🙂
Message Edited by altenbach on 04-04-2006 02:04 PM
04-04-2006 04:12 PM
Try this.