Jump to content

boDisableMouseRightClick


herculanojs

Recommended Posts

6 minutes ago, herculanojs said:

Unfortunately in Brazil we are experiencing major problems with covid since 2019, and there is no possibility for this at the moment.

We know this is a very difficult time...

30 minutes ago, herculanojs said:

In version 1.70.0.1486 the option in MainModule - BrowseOptions.boDisableMouseRightClick has no effect.

Is this behavior in all browsers?

Link to comment
Share on other sites

1 hour ago, herculanojs said:

implemented in oncreate the form, but still persist. I put it in the login form for testing

Can you try with this JS code?

MainForm.window.container.addListener('contextmenu', function(e){e.preventDefault()})

 

Link to comment
Share on other sites

13 minutes ago, herculanojs said:

I'm kind of lost on how to add the code.

Okay, try this, for example:

MainForm -> ClientEvents -> ExtEvents ->

function window.boxready(sender, width, height, eOpts)
{
    sender.container.addListener('contextmenu', function(e){e.preventDefault()});
}

 

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