akr Posted October 28, 2019 Share Posted October 28, 2019 Hi, I am using 1509 trial. I am trying to update a Unimemo with FDEventAlerter (OnTimeout, OnAlert). Timeout is set to 1000. Works on normal VCL. But Unigui doesnt seem to update. When the memo gets refreshed it shows several entries. But how can it be updated via FDEventAlerter/OnTimeout, means every second? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 28, 2019 Share Posted October 28, 2019 You can't update UI unless you get an event from client side. Quote Link to comment Share on other sites More sharing options...
akr Posted October 29, 2019 Author Share Posted October 29, 2019 There problem here seem the asynchronous events from FDEventAlerter. This doesnt seem to be supported by unigui. Anyone? Anyone using this? Quote Link to comment Share on other sites More sharing options...
Tokay Posted October 29, 2019 Share Posted October 29, 2019 UniGUI doesn't works with asynchronous events. You need set a flag, and check a flag on the GUI side. Quote Link to comment Share on other sites More sharing options...
akr Posted October 29, 2019 Author Share Posted October 29, 2019 Ok thanks. Thats my current solution. Implemented a timer. But it freezes sometimes. Maybe I should move to ISAPI now.... 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.