Jump to content

Disable Key and Mouse Operations


Bernie07
 Share

Recommended Posts

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

Link to comment
Share on other sites

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 Synchronize
You can analyze this case with demos:

\FMSoft\Framework\uniGUI\Demos\Desktop\SyncClientUpdate...

Best regards.

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.

 Share

×
×
  • Create New...