> I have a front panel with 1024 square-light boolean indicators (8 clusters > of 4 clusters of 32 booleans, if that makes any sense). The purpose of > this screen is to visually alert the user if a sensor is overloaded. Each > light represents one sensor. The number of clusters/sensors visible at any > one time is dependent on the test configuration. > > I would like for the caption of a light to appear if the mouse hovers over > it, and disappear when the mouse is elsewhere. Other than coding 2048 > Mouse Enter/Leave states into an event structure, what options do I have?? >
Your top level could be 1024 individual Booleans, or is could be a cluster containing the 1024 Booleans, or even better, it could be a 2D array of Boolean sized to 32x32. The main reason you might not be able to do the 2D array is due to coloring or other stuff, but I'd sure try to avoid having to deal with 1000 of anything on an individual basis. Assuming the 2D array, get the panel mouse position, and knowing the size of your Booleans, do a little math to figure out which cell of the array your mouse is over. Change the tip strip of the single Boolean in the array, or of the array itself to be whatever string you like. Greg McKaskle
