如何将Delphi中的TControlClass用作通用TControl参数实现泛型控制?
- 内容介绍
- 文章标签
- 相关推荐
本文共计415个文字,预计阅读时间需要2分钟。
我有一个名为TLuaClassTemplate的模板,用于创建TControl类。构造函数为:RegisterClass(L: Plua_State; p: TPrintProc; container: TComponent; vm: TLuaVm); 静态的TControlClass引用存储在TDictionary中。
本文共计415个文字,预计阅读时间需要2分钟。
我有一个名为TLuaClassTemplate的模板,用于创建TControl类。构造函数为:RegisterClass(L: Plua_State; p: TPrintProc; container: TComponent; vm: TLuaVm); 静态的TControlClass引用存储在TDictionary中。

