Bernie07 Posted November 28, 2016 Posted November 28, 2016 Hello, is it possible to lock all Key and Mouse Operations? I want to do this during my application does any internal operations. For the moment the user can click on the form during the application does any important operations which should first done before the user can work. It would help If I can disable a form for the Duration of some internal work. Best wishes Bernhard Quote
Sherzod Posted November 28, 2016 Posted November 28, 2016 Hi, Can you try to use for this?!: MainForm.ShowMask('Please ....'); Best regards. Quote
Sherzod Posted November 28, 2016 Posted November 28, 2016 And after ... to use: MainForm.HideMask; Quote
Sherzod Posted November 28, 2016 Posted November 28, 2016 Hi, Primarily, I recommend using a more simple way, for example: to use ScreenMask property of Button: UniButton1 -> ScreenMask -> Enabled = True procedure TMainForm.UniButton1Click(Sender: TObject); begin // "long operations" end; What I recommended above works only when used with SynchronizeYou can analyze this case with demos: \FMSoft\Framework\uniGUI\Demos\Desktop\SyncClientUpdate... Best regards. 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.