Delphi组件编写者指南(翻译).doc

  1. 1、本文档共33页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Delphi组件编写者指南(翻译)

Delphi7组件编写者指南(翻译) Delphi7组件编写者指南(翻译) verview of component creation 组件创建概述 This chapter provides an overview of component design and the process of writing components for Delphi applications. The material here assumes that you are familiar with Delphi and its standard components. 本章提供一个组件设计和用Delphi应用程序开发组件的概述。本资料这里假设你熟悉了Delphi语言和它的标准组件。 ? Class library ? Components and classes ? Creating components ? What goes into a component? ? Creating a new component ? Testing uninstalled components ? Testing installed components ? Installing a component on the Component palette For information on installing new components, see “Installing component packages” on 10 of the Developer’s Guide. ? 类库 ? 组件和类 ? 创建组件 ? 研究组件的什么 ? 创建一个新的组件 ? 测试未安装的组件 ? 测试已经安装的组件 ? 安装一个组件到组件面板上 更多安装新组件的信息,请参见Installing component packages 开发者指南16-10. For information on installing new components, see “Installing component packages” on 10 of the Developer’s Guide. Class library 类库 Delphi’s components reside in a component library that includes the Visual Component Library (VCL) and the Component Library for Cross-Platform (CLX). Figure 1.1 shows the relationship of selected classes that make up the VCL hierarchy. The CLX hierarchy is similar to the VCL hierarchy but Windows controls are called widgets (therefore TWinControl is called TWidgetControl, for example), and there are other differences. For a more detailed discussion of class hierarchies and the inheritance relationships among classes, see Chapter 2, “Object-oriented programming for component writers.” For an overview of how the hierarchies differ from each other, see “WinCLX versus VisualCLX” on 7 of the Developer’s Guide and refer to the CLX online reference for details on the components. Delphi的组件属于一个包含可视化和跨平台的组件库。 图1.1显示了组成VCL组织结构的类的关系。CLX的组织结构类似于VCL的组织结构0但是Windows controls被称作widgets(因此TWinControl 叫做 TWidgetControl,例如)还有其他的不同点。更多的详细关于这些类的组织结构和继承关系的讨论,参看第二章。组件编写者面向对象的编程。对于两者组织结构的如何不同,参见开发者指南第15-7WinCLX 与 VisualCLX的比较和参阅CLX在线关于组件细节的参考

文档评论(0)

woaitiantian + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档