DellaSavia Posted February 8, 2019 Share Posted February 8, 2019 Hi ! I'd like to disable (at once) all events on FDQuery (BeforePost, AfterPost, AfterScroll, etc.). I need to run all registers in the FDQuery but in this moment is not necessary to run those events. Is it possible ? I use the Trial Version Thank's ! Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted February 8, 2019 Share Posted February 8, 2019 FDQuery is not unigui component. So its about pascal code. My Suggesion is, define boolean variable in form's private then in events add "if bla_bla then exit;" so thats event not work, but triggered. Quote Link to comment Share on other sites More sharing options...
DellaSavia Posted February 8, 2019 Author Share Posted February 8, 2019 ok, very good... thank's ! 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.