Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 09 Oct 2024, 12:19

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 09 Mar 2020, 17:10 
Offline

Joined: 09 Mar 2020, 14:20
Posts: 2
Hi! i am trying a dbgrideh, with sortlocal, stfilter in false, and search panel, linked to a unidac query about a table in postgresql.
When i search data and get an empty result set, the emptydatainfo is active and displayed well.
But, i want to disable some buttons on the parent form either.
What is more, the dlbclick event is capture, dispite there is no data (dblclick gives me access to modify a record in a subform, and it get de data of the last selected record, but there is no data in sight).
I try to reach the event of empty data at searchpanel.onsearcheditchange, but it occurs before the "filter" is applied. So i do not see an empty set at that moment.
Is there a event such as after search impact? or a property to check that value, that gives me the possibilitiy of locking dbgrideh to prevent dlbclick event if there is no data displayed?
Thanks you all!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group