I have a TAdvStringGrid with edButton as editor style. After the button has been pressed the cell should display the word 'test'. This works fine when using the default Windows style. However, when switching the style to e.g. Lina the word 'test' is not shown.
procedure Tform.HeaderGridGetEditorType(Sender: TObject; ACol, ARow: Integer; var AEditor: TEditorType);
begin
AEditor := edButton;
end;
procedure Tform.GridButtonClick(Sender: TObject; ACol, ARow: Integer);
begin
Grid.Cells[ACol, ARow] := 'test';
PostKeyEx32(VK_ESCAPE, [], False);
end;