Jump to content

Recommended Posts

Posted
Another question friends.
What is the correct way to click or run the process of a button, so that the message of the same screenmask be shown?
 
Simply do:
UniButton1.Click; - Does not show the message screenmask
 
 
procedure TMainForm.UniButton1Click(Sender: TObject);
begin
     sleep(500);
    //screenmask = enabled
   //screenmask.message = 'wainting...';
end;
 
procedure TMainForm.UniButton2Click(Sender: TObject);
begin
     UniButton1.Click;
end;

 

tanks

Posted

Put mask on Button2.

I mean even if you are calling Click() of another button, this is still happening inside an event of some other control, and almost all events in uniGUI controls can me masked.

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...