AdvDBGrid and border

i need to change border color around the grid when its focused, BUT border style and border color doesn't have effect. Border color is always of same color, and is possible to change the border width ?


thx 

I tested this with following code and I see no issue:


procedure TForm1.DBAdvGrid1Enter(Sender: TObject);
begin
  DBAdvGrid1.BorderColor := clRed;
end;

procedure TForm1.DBAdvGrid1Exit(Sender: TObject);
begin
  DBAdvGrid1.BorderColor := $00B99D7F;
end;

in my project dont change color i think because i use Formstyler or there are other parameters to set ...

Then please provide sufficient details about how exactly you use the grid.