pro_imaj Posted October 23, 2020 Share Posted October 23, 2020 Hi, Clicking a button I do a long process. While I am processing ScreenMask.Message, I change it but nothing is reflected on the screen. UniSession.Synchronize (); Tried many ways but did not work. I want the user to keep track of what process is in while continuing with ScreenMask.Message var Say: integer; I: integer; begin Say := 0; UniBitBtn2. ScreenMask.Enabled := True; for I := 0 to 10 do begin UniBitBtn2.ScreenMask.Message := Say.ToString + ' Cound Sending...'; Sleep(200); Say := Say + 1; UniSession.Synchronize(); end; Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 23, 2020 Share Posted October 23, 2020 Hi You should use ShowMask("........") instead of changing UniBitBtn2.ScreenMask.Message 1 Link to comment Share on other sites More sharing options...
pro_imaj Posted October 26, 2020 Author Share Posted October 26, 2020 On 10/23/2020 at 5:54 PM, Hayri ASLAN said: Hi You should use ShowMask("........") instead of changing UniBitBtn2.ScreenMask.Message Hi, I was doing this but I wouldn't hide every loop, doing it that way resolved the problem. Thanks. Link to comment Share on other sites More sharing options...
pro_imaj Posted October 28, 2020 Author Share Posted October 28, 2020 On 10/23/2020 at 5:54 PM, Hayri ASLAN said: Hi You should use ShowMask("........") instead of changing UniBitBtn2.ScreenMask.Message Hi, When I do the way you say, the application that runs as an exe is smooth. When I compile and run it as a DLL, when the process is finished, a blue dot appears in the middle of the screen like the attached one and it waits like that. What could be the reason for this? 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