-
简单功能,实现输入的编号由正向反重新排序
简单功能,实现输入的编号由正向反重新排序-Simple function of the number input by the positive anti-re-order
- 2022-09-08 11:40:03下载
- 积分:1
-
资料室图书借阅管理系统
资料室图书借阅管理系统-borrow library books Management System
- 2022-06-02 01:40:18下载
- 积分:1
-
Crlab公司用来连接MySQL数据库的控件
Crlab公司用来连接MySQL数据库的控件-Crlab company used to connect MySQL database controls
- 2022-05-26 22:20:49下载
- 积分: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
-
程序用Delphi6编写,用到了两个第三方控件RxLib、EhLib。
程序用Delphi6编写,用到了两个第三方控件RxLib、EhLib。-Procedures used to prepare Delphi6, used two third-party controls RxLib, EhLib.
- 2022-09-12 02:10:04下载
- 积分:1
-
打印源代码一款很好的运达因控制的源代码可以下载下来
打印源代码一款很好的运达因控制的源代码可以下载下来-A good source of delivery for controlling the source code can be downloaded from a look at
- 2022-05-20 22:52:12下载
- 积分:1
-
delphi控件的使用
delphi控件的使用-delphi controls a use
- 2022-05-10 10:43:24下载
- 积分:1
-
delphi编写的异性纤维监测系统工控平台,包括主界面、控制按钮、和监测模块的功能接口...
delphi编写的异性纤维监测系统工控平台,包括主界面、控制按钮、和监测模块的功能接口-delphi prepared heterosexual Industrial Fiber monitoring system platforms, including the main interface, the control button, and monitoring the function module interface
- 2022-04-23 13:46:29下载
- 积分:1
-
INI简单实例 对初学问者或许有用
INI简单实例 对初学问者或许有用
-INI simple example of the novice who may be useful to ask
- 2022-06-15 02:22:16下载
- 积分:1
-
toi co the nghe nhac bang choung trinh nay
toi co the nghe nhac bang choung trinh nay
- 2023-02-04 01:25:04下载
- 积分:1