Tokay Posted April 30, 2020 Share Posted April 30, 2020 I need to change a grid filter with code. I attach an example screnshot (main form of the GridFiltering). I added a test button, and a code in it OnClick: UniEdit1.Text := 'bo'. I run app, push the button, and nothig was happened, filter not applied to the grid. Is it possible to do this kind of filtering? Thank you! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 30, 2020 Share Posted April 30, 2020 2 hours ago, Tokay said: and a code in it OnClick: UniEdit1.Text := 'bo'. I run app, push the button, and nothig was happened procedure TMainForm.UniButton2Click(Sender: TObject); begin UniEdit1.Text := 'bo'; UniEdit1.OnChange(UniEdit1); end; Quote Link to comment Share on other sites More sharing options...
Tokay Posted May 1, 2020 Author Share Posted May 1, 2020 Hmmm Simple, obvious and correct solution, thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.