TrDBGrid OnSetColumnFilter event breaks filtering

8 views
Skip to first unread message

Péter Ádám

unread,
Mar 1, 2025, 2:02:35 PMMar 1
to Rosi Delphi Components
Hello,

new user here, new to RosiComp and Delphi beyond Delphi 7, too. Component order is in progress, paid, waiting for it, so limited source code is available for me.

Delphi: 12 Community Edition
Rosi: D12 demo downloaded from the homepage
Zeos: 8.0.1 Beta

TrDBGrid TextBar filter caused an exception in my ZQuery component so I created this event handler to intercept the filter constructed by the component.

I have found the extra characters and eliminated them by the article on the website on filter characters.

However, the pure existence of this handler broke filtering. Setting the var boolean filed only controlled the color of the text in the filter.

I spent the night finding out what's wrong here, today compiled the DB demo, seen that nothing is here, and is working. But creating the event handler broke the filtering in the demo, too.

I see I could use it to mark bad filters for the user.

Am I using it wrong, or is it a bug?

Tomas Rosinsky

unread,
Mar 1, 2025, 3:56:06 PMMar 1
to Rosi Delphi Components
Hi,

I'm sorry but I do not understand what event you used and how.
Can you please provide example of your code to check and be able to help?

Thanks
Tomas

Dne sobota 1. března 2025 v 20:02:35 UTC+1 uživatel lape...@gmail.com napsal:
Reply all
Reply to author
Forward
0 new messages