Disable Drag and Drop

21 visualizzazioni (ultimi 30 giorni)
SK
SK il 30 Apr 2014
Commentato: Digital Guy il 10 Apr 2024 alle 13:19
Is there a way to disable drag and drop in:
1. The Matlab editor
2. The current folder window.
The risk of inadvertent changes are too high for me.
Thank you,
Regards,
Sandeep.
  6 Commenti
SK
SK il 29 Apr 2021
No, not really. I've always had a decent mouse. This is an issue that has persisted over two different mice. Moreover, I don't have this problem, for example, in windows explorer, so it appears to be an issue with Matlab (or more likely Java).
Ethan Blackwood
Ethan Blackwood il 19 Gen 2022
I agree it's more of an issue in MATLAB than in Windows Explorer...one reason is that if you accidentally start a long move or copy operation in Explorer, a progress bar pops up that allows you to click "cancel." For Current Folder there appears to be no way to stop a file operation once it's in progress, which is the main issue for me. Also, I don't think there's an "undo" aside from restoring from the recycle bin, unless I'm mistaken.

Accedi per commentare.

Risposte (1)

Fangjun Jiang
Fangjun Jiang il 29 Apr 2021
Search "how to disable drag and drop in windows" and see the steps. I assume the same risk exists in other apps if it happens to you.
  2 Commenti
SK
SK il 29 Apr 2021
I don't have this problem, for example, in windows explorer, so it appears to be an issue with Matlab (or Java).
Digital Guy
Digital Guy il 10 Apr 2024 alle 13:19
I think there is agreement that there are a number of ways this can happen, in various environments (such as Windows) but I have not seen any direct answer to the original question: "is there a way to disable drag and drop in the Matlab editor"
I would also like to disable drag and drop in the Matlab editor (which for me happens to be running under Unix).
Is this supported?

Accedi per commentare.

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by