This is driving me crazy. I'm not going to take it anymore. I'm going to ask, even at the risk of eternal public humiliation! (If it's something really obvious or that I've done to the system myself).
这真让我抓狂。我不会再忍受了。我会问,即使冒着永远的公开羞辱的风险! (如果这是非常明显的事情,或者我自己对系统做了什么)。
For reasons I've never quite had the patience to work out, every so often the form I'm working on in Delphi 2007's visual form editor goes 'pseudo-read-only'; I can add new components to the form, I can move/resize existing ones (and change any properties in the Object Inspector), and I can select a component and 'copy' it to the clipboard.
由于我从来没有耐心去解决这个问题,因此我在Delphi 2007的可视化表单编辑器中经常使用的形式是“伪读取”;我可以向表单添加新组件,我可以移动/调整现有组件(并更改Object Inspector中的任何属性),然后我可以选择一个组件并将其“复制”到剪贴板。
But I'm completely unable to cut a component from the form, or paste a new copy down. I don't believe it's to do with the 'Lock Controls' Edit menu option as I can toggle this on or off and it has the effect it's supposed to - this disappearance of Cut & Paste happens on the right-click context menu, from the keyboard and from the main Edit menu - it's as if the form has become read only to thing to do with the clipboard.
但我完全无法从表单中剪切组件,或者粘贴新的副本。我不相信它与'锁定控件'编辑菜单选项有关,因为我可以打开或关闭它并且它具有它应该的效果 - 切割和粘贴的消失发生在右键单击上下文菜单上,从键盘和主编辑菜单 - 就好像表单已经只读取与剪贴板有关的内容。
If I close the form in the IDE and then reopen it, everything starts working fine again (just as D1, D3, D5 and D7 always did for me, previously).
如果我在IDE中关闭表单然后重新打开它,一切都会再次开始正常工作(正如D1,D3,D5和D7以前总是为我做的那样)。
I'm not going mad, as I'm sure I read something about why this happens on a newsgroup once and it's caught me out from time to time many many times in the last few months, but I've failed to find the newsgroup reference this evening and I've decided that, as more and more Delphi users seem to be making use of *, it was worth asking here.
我不会生气,因为我确信我曾经读过一些关于为什么会在新闻组发生这种情况的事情,并且在过去的几个月中它不时地被抓了很多次,但是我找不到新闻组了。今晚参考,我已经决定,随着越来越多的Delphi用户似乎正在使用*,这里值得一提。
Help - when I'm doing lots of form-work it drives me absolutely mad!
帮助 - 当我做大量的表单工作时,它让我绝对生气!
6 个解决方案
#1
you can try to download the clipboard monitor application to see if anything is messing with your cut/paste. I have noticed simular problems when running in a VM, the VM gets confused as to what is in the clipboard and won't let me cut/paste again until I go back to my host application open something else (notepad works fine) and copy something fresh. I think thats more a problem of the other clipboard monitoring applications on my system than anything else.
你可以尝试下载剪贴板监视器应用程序,看看是否有任何东西弄乱你的剪切/粘贴。我注意到在VM中运行时出现类似问题,VM对剪贴板中的内容感到困惑,并且不会让我再次剪切/粘贴,直到我回到我的主机应用程序打开别的东西(记事本工作正常)并复制新鲜的东西。我认为这是我系统上其他剪贴板监控应用程序的问题,而不是其他任何问题。
#2
I'm using copy/paste "desing" a lot, but they never went away.
我正在使用复制/粘贴“设计”很多,但它们永远不会消失。
Are you using some other IDE addins that mandle with copy/paste?
您是否正在使用其他一些带有复制/粘贴的IDE插件?
#3
I think it is a known bug in the IDE, but I can't seem to find any references to it. I also have experienced this problem. You might want to try IDE Fix Pack, although it does not claim to fix this problem.
我认为它是IDE中的一个已知错误,但我似乎无法找到它的任何引用。我也遇到过这个问题。您可能想尝试IDE Fix Pack,但它并未声称可以解决此问题。
#4
Check that other apps can use the clipboard too. Sometimes I am paused in the middle of a clipboard operation in my app, which stops other apps opening the clipboard. Can be confusing!
检查其他应用是否也可以使用剪贴板。有时我在我的应用程序中的剪贴板操作中暂停,这会停止打开剪贴板的其他应用程序。可能会让人困惑!
#5
The virus detector app: Webroot SecureAnywhere stopped pasting from working - when I disabled this dumb virus detector - all was good again.
病毒检测器应用程序:Webroot SecureAnywhere停止了工作 - 当我禁用这个愚蠢的病毒检测器 - 一切都很好。
#6
I think you should try the Desktop Settings. I had the same issue and after changing the Setting to Debug, Cut/Copy started working.
我认为你应该尝试桌面设置。我有同样的问题,在更改设置为调试后,剪切/复制开始工作。
#1
you can try to download the clipboard monitor application to see if anything is messing with your cut/paste. I have noticed simular problems when running in a VM, the VM gets confused as to what is in the clipboard and won't let me cut/paste again until I go back to my host application open something else (notepad works fine) and copy something fresh. I think thats more a problem of the other clipboard monitoring applications on my system than anything else.
你可以尝试下载剪贴板监视器应用程序,看看是否有任何东西弄乱你的剪切/粘贴。我注意到在VM中运行时出现类似问题,VM对剪贴板中的内容感到困惑,并且不会让我再次剪切/粘贴,直到我回到我的主机应用程序打开别的东西(记事本工作正常)并复制新鲜的东西。我认为这是我系统上其他剪贴板监控应用程序的问题,而不是其他任何问题。
#2
I'm using copy/paste "desing" a lot, but they never went away.
我正在使用复制/粘贴“设计”很多,但它们永远不会消失。
Are you using some other IDE addins that mandle with copy/paste?
您是否正在使用其他一些带有复制/粘贴的IDE插件?
#3
I think it is a known bug in the IDE, but I can't seem to find any references to it. I also have experienced this problem. You might want to try IDE Fix Pack, although it does not claim to fix this problem.
我认为它是IDE中的一个已知错误,但我似乎无法找到它的任何引用。我也遇到过这个问题。您可能想尝试IDE Fix Pack,但它并未声称可以解决此问题。
#4
Check that other apps can use the clipboard too. Sometimes I am paused in the middle of a clipboard operation in my app, which stops other apps opening the clipboard. Can be confusing!
检查其他应用是否也可以使用剪贴板。有时我在我的应用程序中的剪贴板操作中暂停,这会停止打开剪贴板的其他应用程序。可能会让人困惑!
#5
The virus detector app: Webroot SecureAnywhere stopped pasting from working - when I disabled this dumb virus detector - all was good again.
病毒检测器应用程序:Webroot SecureAnywhere停止了工作 - 当我禁用这个愚蠢的病毒检测器 - 一切都很好。
#6
I think you should try the Desktop Settings. I had the same issue and after changing the Setting to Debug, Cut/Copy started working.
我认为你应该尝试桌面设置。我有同样的问题,在更改设置为调试后,剪切/复制开始工作。