Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2563

Summary: New feature - Color edit by Cell
Product: TeeGrid for Delphi Reporter: marc meumann <marc>
Component: GridAssignee: david berneda <david>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description marc meumann 2022-10-20 12:08:29 EDT
New feature for next release build.

Allows setting of color/brush characteristics by Cell:

eg. (VCL)
var
    cell : TCell;
    row : TRow;
    fontstyles :TFontStyles;
begin
  fontstyles := [TFontStyle.fsBold,TFontStyle.fsStrikeOut];

  cell := TeeGrid1.CellFormat.AddCell(1, teeGrid1.Columns[1].Index);
  cell.Format.Font.Style := fontstyles;
  cell.Format.Brush.Color := clYellow;
  cell.Format.Font.Color := TColors.Red;
  cell.Format.Brush.Show();

  TeeGrid1.Repaint;
end;