herculanojs Posted July 1, 2016 Posted July 1, 2016 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 Quote
zilav Posted July 2, 2016 Posted July 2, 2016 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.