I have a StringGrid that is linked to a two dimensional array of records and I am trying to change the colour of the text in a stringgrid in order to correspond to a boolean variable field in the array. If the value is false, then the text should be green, otherwise the text should be red (If the value of the field is true). On startup, the text in the cells within the stringgrid is black. On formactivate, I want them to be green, and then, whenever the array is updated, I want them to turn red (when the value in the boolean field, lets call it BOOKED, becomes true)
If the colour of the CELLS, rather than the TEXT can be changed, then I wouldn't mind that either. In fact, I would prefer it.