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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...