Can I place a bitmap at a precise location in a cell?

I'm using the TMSFNCGrid.AddBitmap method to add a bitmap to a particular cell. I'd like to place it more precisely or at least be able to right justify it. There doesn't appear to be a way to do that. Am I wrong or is there a workaround?


You can change the position of where the bitmap is drawn with

procedure TForm1.TMSFNCGrid1GetCellProperties(Sender: TObject; ACol,
  ARow: Integer; Cell: TTMSFNCGridCell);
  if Cell is TTMSFNCBitmapGridCell then
    (Cell as TTMSFNCBitmapGridCell).ControlPosition := gcpRight;
1 Like


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.