Delphi 2009 RAD Studio - 桌面选择器不工作
在 Delphi 2009 RAD Studio 中,有一个下拉组合框,您可以在其中选择桌面配置,即“默认布局”、“调试布局”、“经典取消停靠”等。这对我来说已经停止工作,即当我选择一个桌面,没有任何反应。我想我曾经通过删除下拉组合框来“自定义”工具栏,然后再次添加它,从那以后它就消失了吗?治愈?
In the Delphi 2009 RAD Studio, there is a drop-down combo box where you can select the desktop configuration, i.e. "Default Layout", "Debug Layout, "Classic Undocked", etc. This has stopped working for me, i.e. when I select a desktop, nothing happens. I think I once "customized" the toolbar, by removing the drop-down combo box, and then I added it again, and ever since it has been dead. Is this a known bug? Is there a cure?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在您的计算机上创建一个新的用户帐户,将其命名为“测试”并登录。现在加载 delphi 并尝试这个桌面布局按钮。如果它现在在这个替代桌面帐户中工作,那么它是在您的注册表设置中的此项下的某些内容:
尝试在会话项下设置名为 DesktopName 和 RuntimeDesktopName 的项
Create a new user account on your computer, call it "Testing" and log in there. Now load up delphi and try this desktop layout button. If it's now working in this alternative desktop account, then it's something in your registry settings under this key:
Try setting the keys named DesktopName and RuntimeDesktopName under the Session key
当您运行项目或返回编码时是否仍在切换配置?
您是否尝试过创建新的自定义配置、保存它们并使用组合手动切换?
我的猜测是注册表中保存的内容有问题。您可以尝试(在保存当前注册表后)从另一个安装的可用 D2009 注册表中获取(良好的)D2009 注册表,并将其应用到您的计算机上。如果它再次起作用,您将有办法通过比较规则来找出答案。如果没有,您可能必须重新安装 D2009(或至少尝试“修复”)。
免责声明:yadda yadda 关于触摸注册表......
Is it still switching configurations when you run the project or when you go back to coding?
Have you tried to create new custom configurations, save them and switch manually with the combo?
My guess is it's something wrong saved in the Registry. You could try (after saving your current registry) to get a (good) D2009 registry from another install where it works, and apply it to your machine. If it works again you'll have a way to figure it out by diffing the regs. If not you may have to reinstall D2009 (or at least try"repair").
DISCLAIMER: yadda yadda about touching the Registry...