Clusters in StringGrid



  • I'll put it in the green cell when I press it.

    if(State.Contains(gdSelected))
    {
        StringGrid1->Canvas->Brush->Color = COLOR_TRUE;
        StringGrid1->Canvas->FillRect(Rect);
    }
    

    How do we repress the cell to paint it differently?
    And how can you remove the flower of the bay?



  • I'd announce enum, the color of the cell. And would create a matrix of these flags for all grid cells. And the cheek would analyze it and cheat it properly.


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2