在IDE的“结构面板”中,如何将TCard复制到剪贴板? [英] From the IDE's Structure Panel, how to copy a TCard to the clipboard?

查看:106
本文介绍了在IDE的“结构面板”中,如何将TCard复制到剪贴板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Delphi 10.4 IDE表单设计器的结构面板中,我选择一个 TCard 容器控件(包含多个控件)并尝试使用 CTRL + C 将其复制到剪贴板。这没用。即使在EDIT子上下文菜单中,复制项目也被禁用:

In the Delphi 10.4 IDE Form Designer's STRUCTURE PANEL, I select a TCard container control (containing several controls) and try to copy it to the clipboard with CTRL+C. It does not work. Even in the EDIT sub-context menu, the Copy item is disabled:

重新启动IDE。反复尝试了几个小时。

Restarted the IDE. Tried again and again for hours.

有没有技巧可以做到这一点?这是IDE中的错误吗?

Is there a trick to do this? Is this a bug in the IDE?

推荐答案

IDE中似乎有一个错误会中断<$ c之间的同步$ c>结构面板和表单设计器用于特定对象类型,例如 TCard TTabSheet 和类似的容器。

There seems to be a bug in the IDE that interrupts the synchronization between Structure Panel and Form Designer for specific object types like TCard or TTabSheet and similar containers.

此错误的解决方法是:


  1. 首先在结构面板中选择 TCard

然后单击表单设计器的TAB 将 TCard 集中在表单设计器中

Then click on the Form Designer's TAB to focus the TCard in the Form Designer

然后按 CTRL + C 复制 TCard 及其所有子目录,控件到剪贴板-可行!

Then press CTRL+C to copy the TCard together with all its sub-controls to the clipboard - this works!

这篇关于在IDE的“结构面板”中,如何将TCard复制到剪贴板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆