Jump to content

Recommended Posts

Posted

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!

image.png.15d2439c3eca71ac7a0778673b10ddfe.png

Posted
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;

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...