when you said separately do you mean that i can do the button call in the way:
listbox1.CellBackgroundPaint ... i am having a hard time explaining over and over what im trying to do. 1-i start with all balls on a column painted black 2- clicking a button updates a vector corresponding to each cell in a column that supposedly changes the colors from black to other colors independently for each cell, i.e. some will be changed to yellow, some will be changed to red. 3- clicking a button again keeps updating the vector...and so on the solution you proposed works as long as i have hard coded what color or color variable i have for each cell. if i declare lots of color variables, one per cell, and for each cell i assign it to the cell then it may work, however, it may not be the best solution. Is there a function to code this dynamic change of color from outside? maybe im confused but i think i got a point, sorry if misunderstood you. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
