-
Delphi B/S programming skills sets (29
Delphi2005 B/S程序设计技巧集(29--33)
现在delphi 2005 B/S的书籍资料太少,几乎没有可参考的资料,这在一定程度上限制了delphi 2005的使用,相反C#,ASP的书籍资料到处都是。通过几个月的学习也算是总结了一点经验,从现在起我将陆续将ASP和C#的例子、技巧翻译到delphi 2005下面,希望对大家的学习和工作有帮助,毕竟.Net是一种发展趋势。我将不定期写新的内容,同时,如果你在工作或学习中有什么问题,我也会将问题加入本篇文章,另外,一个人的能力毕竟有限,也希望大家共同来解决问题。
宋雨炫
-Delphi B/S programming skills sets (29-- 33) is now delphi 2005 B/S books so little information, almost no reference to the information, This, to a certain extent, limit the use of Delphi 2005, C# contrary, ASP information books are everywhere. Through several months of learning is also summed up the experiences that from now on I will continue, ASP and C# example, delphi translation skills to below 2,005, we hope to study and work there to help, After all. Net is a development trend. From time to time I will write the new content, and if you work or study any problem, I will also take the issue into this article, in addition to the ability of a person is limited, I hope we can jointly to solve the problem. SONG X
- 2023-01-26 07:20:04下载
- 积分: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
-
自动求出任何一个数值的sin值。可自动保留有效数字。
自动求出任何一个数值的sin值。可自动保留有效数字。-automatically derive any sin of a numerical value. Automatically retain effective figures.
- 2022-05-16 11:31:51下载
- 积分:1
-
更换壁纸、屏保、开关机画面、启动声音、关机声音
更换壁纸、屏保、开关机画面、启动声音、关机声音-replacement of wallpaper, screensavers, screen-switching, voice activated and voice shutdown
- 2022-02-20 12:24:44下载
- 积分:1
-
Is an office system that can realize financial management and staff mobility
是个办公系统,可以实现财务上的管理和人员的流动-Is an office system that can realize financial management and staff mobility
- 2022-02-03 12:46:56下载
- 积分:1
-
这是我对Adhoc网络中AODV路由协议的项目。通过使用该程序的O。
This my project about AODV in AdHoc network. By using Delphi to program the operation of the algorithm.It include the source code in Delphi and the execute file to run.-This is my project about AODV in AdHoc network. By using Delphi to program the operation of the algorithm.It include the source code in Delphi and the execute file to run.
- 2023-07-19 06:30:04下载
- 积分:1
-
delphi控件源码:包含十四种控件的拓展功能:1、带CheckBox的GroupBox。当处于选中状态时,GroupBox中的控件是可用的,否则是不可用的。2...
delphi控件源码:包含十四种控件的拓展功能:1、带CheckBox的GroupBox。当处于选中状态时,GroupBox中的控件是可用的,否则是不可用的。2、可自定义图标、文字的DBNavigator控件。3、可控制窗体中输入焦点的跳转顺序。4、图形按钮控件,可指定正常状态、鼠标指向、鼠标按下时的图片。可做出类似金山毒霸2001中的按钮效果。...
-delphi source code control: contains 14 kinds of controls the expansion of functions: 1, with CheckBox the GroupBox. When in the selected state, GroupBox controls in are available, otherwise it is unavailable. 2, can be custom icon, text DBNavigator control. 3, can control the form of the jump in the order of input focus. 4, graphics, button controls, may designate a normal state, mouse, mouse click when the picture. Can make similar Kingsoft button effect in 2001. ...
- 2022-06-29 11:59:37下载
- 积分:1
-
逻辑门的设计
logic gates and design
- 2022-07-22 16:54:29下载
- 积分:1
-
示如何获得本机IP地址,如何生成透明窗口,如何从任务条上隐藏...
示如何获得本机IP地址,如何生成透明窗口,如何从任务条上隐藏-show how to obtain the machines IP address, how to create a transparent window, from the mission of how hidden
- 2022-01-25 22:11:46下载
- 积分:1
-
有问题的七段显示VHDL很多
there are lots of problems about seven segment display in vhdl
- 2022-07-19 05:38:45下载
- 积分:1