AdvStringGrid AddButton default text colour

Windows 7 SP1 x64
RAD Studio 10.1 Berlin Update 2
TMS VCL UI Pack v10.1.7.0

Hi,

Since TMS VCL UI Pack v10.1.7.0, adding a button in an AdvStringGrid using .AddButton does not have the same default color.

Originally, the text colour was black, now it's a pale grey-ish-green-ish colour.

Is it an intended behaviour?

Here's my test case:
  • Create a new project
  • Add an AdvStringGrid
  • Add and connect this event:
procedure TForm1.FormCreate(Sender: TObject);
begin
  AdvStringGrid1.AddButton(1,1,20,20,'01', haCenter, vaCenter);
  AdvStringGrid1.AddButton(2,1,20,20,'02', haCenter, vaCenter);
  AdvStringGrid1.AddButton(3,1,20,20,'03', haCenter, vaCenter);
end;
  • Build and Run the project.

Original behaviour:
Button "01", "02" and "03" have black text.

Actual behaviour
Button "01", "02" and "03" have pale grey-ish-green-ish text.

An issue slipped in for font color for buttons in the grid in v10.1.7
We already fixed this internally and the next update will address this.