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 - New feature - Color edit by Cell
Summary: New feature - Color edit by Cell
Status: RESOLVED FIXED
Alias: None
Product: TeeGrid for Delphi
Classification: Unclassified
Component: Grid (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: david berneda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-20 12:08 EDT by marc meumann
Modified: 2022-11-15 05:12 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;