-
The use of serial
TBCOMM串口类使用用例.TBCOMM是本人在CNCOMM的基础上改良后的一个类块,这个用例是在C++ BUILDER 2007上开发的-The use of serial-type TBCOMM use case. TBCOMM is I CNCOMM the basis of an improved type of block, the use case in the C++ BUILDER 2007 developed
- 2022-11-30 13:35:03下载
- 积分:1
-
使用IntraWeb开发Web网站
在deplhi开发平台下,利用intraweb组件开发网站的案例。-Use intraweb web site development
- 2023-01-18 23:05:04下载
- 积分:1
-
非常双的编程代码。关于串口编程的。
非常双的编程代码。关于串口编程的。-very double programming code. On Serial Programming.
- 2022-01-28 02:06:57下载
- 积分:1
-
delphi下最好的脚本控件,执行快,使用简单支持d7
delphi下最好的脚本控件,执行快,使用简单支持d7-delphi script under the best control, the implementation of fast, easy to use support d7
- 2023-02-09 17:55:03下载
- 积分:1
-
在PageControl的每一页,添加一个关闭按钮
在pagecontrol每一页,添加一个关闭按钮-In pagecontrol each page, to add a Close button
- 2022-03-11 01:15:28下载
- 积分:1
-
Geographic resources api entry procedures using some knowledge, you would like t...
地理资源的录入程序运用了api的一些知识,想看看吗!挺不不错的-Geographic resources api entry procedures using some knowledge, you would like to see! Ting is not good
- 2022-07-24 23:24:52下载
- 积分: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
-
将fastreport2系列frf文件自动生成form,每一页在gen目录下自动生成一页...
将fastreport2系列frf文件自动生成form,每一页在gen目录下自动生成一页-Frf file fastreport2 series will be automatically generated form, each page in gen directory automatically generated page
- 2022-08-08 00:17:54下载
- 积分:1
-
Jedi Code Library JCL JVCL 组件包 JCL+JVCL超过300个组件的非可视/可视大型组件包。...
Jedi Code Library JCL JVCL 组件包 JCL+JVCL超过300个组件的非可视/可视大型组件包。-Jedi Code Library JCL JVCL kits JCL JVCL more than 300 non-visual components/visual components of large packets.
- 2023-07-19 18:25:05下载
- 积分:1
-
Delphi使用GDI+制作任意图片形状窗口代码
Delphi使用GDI+制作任意图片形状窗口代码-construct-form-with-delphi-and-GDI+
- 2022-02-13 21:45:56下载
- 积分:1