文件名称:delphi_TFrame_test

  • 所属分类:
  • Dephi控件源码
  • 资源属性:
  • [Dephi] [Pascal] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 5.22mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • littl*****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

***delphi中的Tfr a me类使用方法示例***

这个类,我们称之为Tfr a me框架组件,使程序开发人员能够可视化的设置一组组件,之后系统中对它进行重用。

Tfr a me框架有两个主要的好处:

第一、Tfr a me框架可大幅减少需要存储在工程中的资源量。

第二、Tfr a me框架允许你可视化的创建能复制和扩展的对象。

对可视化窗体继承允许你很简单的创建由继承得来的窗体。每一个框架保持它与父Tfr a me的关系,即对父类的改变将自动被实例继承。虽然你可以用TPanel组件达到同样的效果,但它只局限于基于代码的操作,

即你必须写代码来手工定义TPanel上的子孙控件。

在这个示例代码中,通过点击不同的按钮,

在TPanel上加载不同的Tfr a me实例,而这

这些不同的实例都是从一个公共的父fr a me

继承。父fr a me在ufr a meBase.pas和ufr a meDeviceBase中定义,两个子fr a me

在unit1.pas和unit2.pas中定义,fr a meManager.pas中定义了加载Tfr a me的

实现函数。-*** Delphi in Tfr a me class example of use***

This class, which we call Tfr a me fr a mework components, so that application developers can set the visual set of components for reuse it after the system.

Tfr a me fr a mework has two main benefits:

First, Tfr a me fr a mework can significantly reduce the need to store the amount of resources in the project.

Second, Tfr a me fr a mework allows you to create visual objects can be replicated and expanded.

Of visual form inheritance allows you to create a simple form obtained by inheritance. Each fr a me to maintain its relationship with the parent Tfr a me that changes in the parent class instance will automatically be inherited. Although you can use TPanel components to achieve the same effect, but it is only limited to the operation code-based,

That you must write code to manually define TPanel the descendants control.

In this example code, by clicking on different buttons,

Loaded in different Tfr a me TPanel instance, which

These different i
相关搜索: Tfr a me
create
Tfr a me

(系统自动生成,下载前可以参看下载内容)

下载文件列表

delphi_TFrame_test\FrameManager.pas

..................\Paint.ico

..................\Project1.cfg

..................\Project1.dof

..................\Project1.dpr

..................\Project1.res

..................\testFrame.dfm

..................\testFrame.pas

..................\uFrameBase.dfm

..................\uFrameBase.pas

..................\uFrameDeviceBase.dfm

..................\uFrameDeviceBase.pas

..................\Unit1.dfm

..................\Unit1.pas

..................\Unit2.dfm

..................\Unit2.pas

..................\advgrid\acgde.dcu

..................\.......\acgde.pas

..................\.......\acreg.dcr

..................\.......\acreg.dcu

..................\.......\acreg.pas

..................\.......\ACXPVS.dcu

..................\.......\ACXPVS.pas

..................\.......\Advcgrid.dcu

..................\.......\AdvCGrid.pas

..................\.......\Advcombo.dcu

..................\.......\AdvCombo.pas

..................\.......\AdvDirectoryEdit.dcr

..................\.......\AdvDirectoryEdit.dcu

..................\.......\AdvDirectoryEdit.pas

..................\.......\AdvDirectoryEdit.res

..................\.......\advedbr.dcr

..................\.......\advedbr.dcu

..................\.......\advedbr.pas

..................\.......\AdvEdBtn.dcu

..................\.......\AdvEdBtn.pas

..................\.......\adveddd.dcu

..................\.......\adveddd.pas

..................\.......\AdvEdit.dcu

..................\.......\AdvEdit.pas

..................\.......\AdvFileNameEdit.dcr

..................\.......\AdvFileNameEdit.dcu

..................\.......\AdvFileNameEdit.pas

..................\.......\AdvFileNameEdit.res

..................\.......\AdvGrid.dcu

..................\.......\AdvGrid.pas

..................\.......\advgrid.res

..................\.......\advimage.dcu

..................\.......\advimage.pas

..................\.......\advimgde.dcu

..................\.......\advimgde.pas

..................\.......\Advlistv.dcu

..................\.......\AdvListV.pas

..................\.......\advlued.dcu

..................\.......\advlued.pas

..................\.......\advluedr.dcr

..................\.......\advluedr.dcu

..................\.......\advluedr.pas

..................\.......\Advmcss.dcu

..................\.......\Advmcss.pas

..................\.......\AdvMemo.dcu

..................\.......\AdvMemo.pas

..................\.......\AdvMemoReg.dcr

..................\.......\AdvMemoReg.dcu

..................\.......\AdvMemoReg.pas

..................\.......\AdvMoneyEdit.dcu

..................\.......\AdvMoneyEdit.pas

..................\.......\AdvMoneyEditReg.dcr

..................\.......\AdvMoneyEditReg.dcu

..................\.......\AdvMoneyEditReg.pas

..................\.......\advmps.dcu

..................\.......\advmps.pas

..................\.......\Advobj.dcu

..................\.......\Advobj.pas

..................\.......\advpanel.dcu

..................\.......\advpanel.pas

..................\.......\advpicde.dcu

..................\.......\advpicde.pas

..................\.......\advpicr.dcr

..................\.......\advpicr.dcu

..................\.......\advpicr.pas

..................\.......\advpicture.dcu

..................\.......\AdvPicture.pas

..................\.......\advpnlreg.dcr

..................\.......\advpnlreg.dcu

..................\.......\advpnlreg.pas

..................\.......\Advprogr.dcu

..................\.......\AdvProgr.pas

..................\.......\advqryr.dcr

..................\.......\advqryr.dcu

..................\.......\advqryr.pas

..................\.......\AdvQueryDialog.dcu

..................\.......\AdvQueryDialog.pas

..................\.......\AdvShaper.dcu

..................\.......\AdvShaper.pas

..................\.......\advshaperreg.dcr

..................\.......\AdvShaperReg.dcu

..................\.......\AdvShaperReg.pas

..................\.......\advspin.dcu

..................\.......\advspin.pas

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org