I am using the filter feature of TTMSFNCGrid, which works fine. Though, I would like to increase the font size in that filter dropdown at least. The produced HTML looks hard-coded to me (from the underlying popup).
The filter is a TWebListBox. It's not directly accessible but with a class wrapper you can access the protected property. You can then access it in the OnFixedCellDropDownButtonClick event.
type
TOpenGrid = class(TTMSFNCGrid);
procedure TForm30.TMSFNCGrid1FixedCellDropDownButtonClick(Sender: TObject; ACol,
ARow: Integer; ACell: TTMSFNCGridCell);
begin
TOpenGrid(TMSFNCGrid1).FilterListbox.Font.Size := 20;
end;
1 Like
Thanks Pieter! That works perfectly.
I already had a "SetDefault" helper, which I call on all Grids, to make them all look the same. I put the code there, and it works as expected.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.