登录
首页 » Delphi VCL » 界面代码和功能代码分离示例 界面代码和功能代码分离示例...

界面代码和功能代码分离示例 界面代码和功能代码分离示例...

于 2023-07-10 发布 文件大小:388.71 kB
0 183
下载积分: 2 下载次数: 1

代码说明:

界面代码和功能代码分离示例 界面代码和功能代码分离示例 -Interface code and functional separation of sample code and function interface code code sample separation

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 嘿嘿,大侠看到不要见笑呀... 大家都知道使用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
  • 3x3智慧拼盘计算机游戏源码
    3x3智慧拼盘计算机游戏源码-3x3 wisdom plates computer games FOSS
    2022-01-25 17:39:04下载
    积分:1
  • 演示三层C
    演示三层C-S实例的开发,采用Delphi语言进行开发的。-Three examples demonstrate the development of CS, using Delphi language development.
    2022-12-01 18:35:03下载
    积分:1
  • gradient colors of progress
    颜色渐变的进度条-gradient colors of progress
    2022-03-19 07:19:16下载
    积分:1
  • 你可以把媒体程序
    you can take media with thisprogram
    2022-05-07 21:37:58下载
    积分:1
  • 这是一款用于超市前台管理的软件,适合中小超市使用。
    这是一款用于超市前台管理的软件,适合中小超市使用。-This is a front for the supermarket management software, suitable for the use of small and medium-sized supermarkets.
    2022-12-16 12:10:04下载
    积分:1
  • Simple Delphi opc client
    Simple Delphi opc client
    2023-08-05 18:40:03下载
    积分:1
  • AlphaControls Delphi is a standard set of controls, contains many new features t...
    AlphaControls是一个Delphi标准控件的集合,包含了很多新特性去增强应用程序界面。每个控件都有自己扩展的绘画属性,诸如渐进色,扩展边框,alpha通道,实时阴影。图形功能都是实时着色的,效果可以随个性化设置而改变。 -AlphaControls Delphi is a standard set of controls, contains many new features to enhance the application program interface. Each component has its own expansion of the painting attributes, such as color gradual expansion frame, the alpha channel, real-time shadows. Real-time graphics functions are coloring the results can be set up with the personality of change.
    2022-01-31 15:34:40下载
    积分:1
  • delphi做的一个可以计算sql运行时间的系统,大家可以参考一下....
    用delphi做的一个可以计算sql运行时间的系统,大家可以参考一下.-Use delphi to do a sql can calculate the running time of the system, everyone can reference.
    2023-09-01 09:50:03下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载