EhLib.Com
https://forum.ehlib.com/en/

Problem with filter on TDBGridEh
https://forum.ehlib.com/en/viewtopic.php?f=5&t=1008
Page 1 of 1

Author:  alberto.bonardi0001 [ 11 Oct 2019, 14:44 ]
Post subject:  Problem with filter on TDBGridEh

Hello,
when i clear the filter panel to force to see all records and i push the return key i obtain an Access Violation error.
I try to put in my code this :

procedure TFMyApp.GrigliaSearchPanelSearchEditChange(Grid: TCustomDBGridEh;
SearchEdit: TDBGridSearchPanelTextEditEh);
begin
if SearchEdit.Text = '' then
begin
Griglia.ClearFilter;
Griglia.ApplyFilter;
end;
end;

What i wrong ?

Thank you

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/