假设以下情况:
FrmBase
有一个TPanel
命名PnlClient
,对齐alClient
FrmDescendant
继承自FrmBase
- 在
FrmDescendant
我改变一个PnlClient
属性 - 在
FrmDescendant
我放置另一个控件(比如另一个TPanel
命名PnlDescendant
)PnlClient
并对齐它alClient
。PnlDescendant
现在完全覆盖PnlClient
- 我在 上放置了许多其他组件
PnlDescendant
,不一定对齐,所以我害怕更改PnlDescendant
(例如设置对齐alNone
和调整大小)并丢失位置
如何执行“恢复为继承” PnlClient
?
主菜单或结构视图中控件的弹出菜单中没有任何内容...
目前使用 Delphi 10.4.1 悉尼