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? 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. 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? 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. 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.... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now