Jump to content

Button ScreenMask.Message Runtime


pro_imaj

Recommended Posts

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

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?

 

Yeni Proje.png

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...