-
delphi example delphi example delphi example
delphi example delphi example-delphi example delphi example delphi example
- 2022-01-26 06:32:50下载
- 积分:1
-
此代码是关于mapgis的在,delphi环境下开发
此代码是关于mapgis的在,delphi环境下开发-this code is in mapgis, delphi development environment
- 2022-11-29 14:55:05下载
- 积分:1
-
一个能够在 Console Mode 下使用的 Shell 类 (1.00 版,附源码 ),
一个能够在 Console Mode 下使用的 Shell 类 (1.00 版,附源码 ),-a Console Mode can use the Shell category (1.00 version, with source),
- 2022-03-29 03:47:05下载
- 积分:1
-
Delphi视频编程,voc视频电话,视频会议程序(p2p)
Delphi视频编程,voc视频电话,视频会议程序(p2p)-Delphi video programming, voc video telephony, video conferencing program (p2p)
- 2022-02-07 22:04:33下载
- 积分:1
-
Cell components of this source is from the database delphi how to check the numb...
此源码是Cell组件delphi中如何从数据库取数和自定义函数的代码示例-Cell components of this source is from the database delphi how to check the number and self-defined function code sample
- 2022-02-28 14:42:44下载
- 积分:1
-
嘿嘿,大侠看到不要见笑呀...
大家都知道使用DLL的好处.于是我就想把FORM封装到DLL里面去.
到网上找,发现是MDI和模式窗体的,非模式的也有...
嘿嘿,大侠看到不要见笑呀...
大家都知道使用DLL的好处.于是我就想把FORM封装到DLL里面去.
到网上找,发现是MDI和模式窗体的,非模式的也有很多问题.便想自己解决这个问题.
原来是用DLL创建一个对象返回,但发现有很多的问题.
想了半天就去寻根问柳吧.
找到了类.
我就想把类封装进DLL,到时简单的返回一个类,然后在主程序里操作不就简单了?
找了半天发现了TFormClass,于是试了试从DLL导出来,像一般的程序一样创建窗体发现成功.
接着我又想看看其他的类是不是也能这样,就拿TFrame来实验.
function GetDllFrameClass():TFrame stdcall
第一次是这样声明的,失败.奇怪?!
试了好多次都不行,就想到了TFormClass(Ctrl+左键),进去看看,发现是这样声明的.
TFormClass = class of TForm
哎呀,恍然大悟!!
class(TFrame) 是声明一个类, 这个类继承了TFrame类 f: TFrame 是一个对象
class of TFrame 声明的是类类型, f:TFrameClass 是一个类.
function GetDllFrameClass():TFrame
返回就不是类而是对象了,照TFormClass修改后TFrameClass = class of TFrame
运行...成功,
- 2022-01-31 01:59:09下载
- 积分:1
-
delphi 实现备份
delphi 实现备份-delphi backup
- 2023-07-08 23:45:03下载
- 积分:1
-
在处理时更改网格线
changing the grid lines while processing
- 2022-02-12 19:56:07下载
- 积分:1
-
delphi中应用png,通过GDI+实现的根据png图建一个不规则窗体
delphi中应用png,通过GDI+实现的根据png图建一个不规则窗体-delphi application png, through GDI+ achieved in accordance with plans to build an irregular png form
- 2022-07-14 16:15:39下载
- 积分:1
-
VU meter component source code for Delphi 2 and 3
VU meter component source code for Delphi 2 and 3
- 2022-05-15 09:36:48下载
- 积分:1