-
Delphi latest three
Delphi最新三层源码(1.0),对delphi有帮助-Delphi latest three-source (1.0), has helped to delphi
- 2022-01-24 09:25:02下载
- 积分: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
-
XPMenu包含控件和控件SPCOMM控件,它为我…
其中包含XPMenu控件和SPComm控件,其中SPComm控件为本人根据自己需要修改过的-XPMenu which contains controls and SPComm control, which controls SPComm for my needs according to their revised
- 2022-03-03 04:22:58下载
- 积分:1
-
Canvas打印内容
Canvas打印内容-Canvas Print content
- 2023-01-20 10:15:04下载
- 积分:1
-
用DELPHI写的网卡启动禁用程序,可以将网卡的配置文件保存然后通过选择切换...
用DELPHI写的网卡启动禁用程序,可以将网卡的配置文件保存然后通过选择切换-Written by DELPHI disable the network card restart process, you can configure the network card and then save the file by selecting the switch
- 2022-02-15 19:57:35下载
- 积分:1
-
著名的蓝色平方米源,不
大名鼎鼎的BLUE M2源码,非了好大的劲搞来的,修改日期是080514,需要的朋友可以拿去研究,呵呵,M2界的领头老大.-BLUE M2 famous source, non-a very big effort to engage in, and modified date is 080,514, the needs of friends can take research, huh, huh, M2 oldest profession take the lead.
- 2022-12-20 14:50:04下载
- 积分:1
-
通过使用PaintBox控件进行矢量图绘图
通过使用PaintBox控件进行矢量图绘图-PaintBox controls through the use of vector graphics
- 2022-04-25 13:03:37下载
- 积分:1
-
According to the database where the access path to a different, dynamic read acc...
根据access数据库所在的路径不同,动态读取access数据库-According to the database where the access path to a different, dynamic read access database
- 2023-02-26 23:25:03下载
- 积分:1
-
ViewStyle: view style of the Listview, including Thumbnails.
- ViewStyle: view style of the Listview, including Thumbnails.
- ThumbOptions: general thumbnail options, like size, spacing, highlight color, etc.
Special options are:
+ BorderOnFiles: when true it shows borders on all the files and folders, otherwise
it shows borders only on image files.
+ CacheOptions: thumbnail cache and compression options.
+ Details: allows to show file and image properties below the thumbnail.-- ViewStyle: view style of the Listview, including Thumbnails.
- ThumbOptions: general thumbnail options, like size, spacing, highlight color, etc.
Special options are:
+ BorderOnFiles: when true it shows borders on all the files and folders, otherwise
it shows borders only on image files.
+ CacheOptions: thumbnail cache and compression options.
+ Details: allows to show file and image properties below the thumbnail.
- 2022-03-24 07:05:41下载
- 积分:1
-
用delphi进行进制转换的例子
用delphi进行进制转换的例子-used for the base for the conversion examples
- 2022-08-18 13:09:23下载
- 积分:1