-
VCL for GIS Application development
VCL for GIS Application development
- 2022-08-19 01:51:13下载
- 积分:1
-
1个非常好的录制鼠标动作的源码
1个非常好的录制鼠标动作的源码-a very good record mouse movements FOSS
- 2022-08-24 05:19:43下载
- 积分:1
-
Delphi cbuilder
葵花宝典Delphi cbuilder成功人士必读 提供编程技巧-Delphi cbuilder
- 2022-05-27 22:42:46下载
- 积分:1
-
DELPHI 皮肤控件, 例如 XP 皮肤
DELPHI 皮肤控件, 例如 XP 皮肤-DELPHI skin controls, such as XP skin
- 2022-06-20 07:23:58下载
- 积分:1
-
delphi +SQL 编程 语法
delphi +SQL 编程 语法
delphi +SQL 编程 语法
delphi +SQL 编程 语法-delphi+ SQL grammar programming delphi+ SQL programming grammar
- 2022-04-12 00:01:32下载
- 积分:1
-
This is a relevant example of document management, we hope to help
这是一个有关文件管理的例子,希望对大家有帮助,-This is a relevant example of document management, we hope to help
- 2023-08-01 13:15:03下载
- 积分:1
-
bdiff计算两个二进制文件之间的差异。输出可以是
bdiff computes differences between two binary files. Output can be either a
somewhat human-readable protocol, or a binary file readable by bpatch.
bpatch applies a binary patch generated by bdiff.
- 2022-04-26 19:11:45下载
- 积分:1
-
实现加减乘除的简单计算器,可以将0显示在输入的右面.
实现加减乘除的简单计算器,可以将0显示在输入的右面.-realize the simple arithmetic calculators, can be shown in the importation of 0 to the right.
- 2022-01-23 11:03:21下载
- 积分:1
-
delphi写的一个定时关机和定时重启程序,可以实现快速关机功能...
delphi写的一个定时关机和定时重启程序,可以实现快速关机功能-delphi write a timed shutdown and restart procedures from time to time, you can achieve rapid shutdown function
- 2022-01-27 16:28:50下载
- 积分: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