Delphi组件的编程

Clo*_*ble 1 delphi user-interface components

有人知道在开发时间是否可以直观地查看和编辑组件?我想创建一个基于TPanel的组件,但我没有任何设计窗口(或dfm),我可以在其上直观地添加组件,我发现一些程序员声称它不可能的相关线程.

任何想法,如果它可能和如何?

日Thnx

Mar*_*ema 9

不.使用框架是您在视觉设计师的帮助下开发复合组件的最佳方法.

参见这篇文章http://etutorials.org/Programming/mastering+delphi+7/Part+II+Delphi+Object-Oriented+Architectures/Chapter+9+Writing+Delphi+Components/Creating+Compound+Components/

特别是"用框架构建复合组件"部分.