转自http://delphi.about.com/library/weekly/aa122899b.htm
Overview of component creation, Object-oriented programming for component writers, Creating properties, Creating events, Creating methods, Using graphics in components, Handling messages, Making components available at design time, Modifying an existing component, Creating a graphic component, Customizing a grid, Making a control data aware, Making a dialog box a component.
This white paper has been constructed to help component authors develop and enhance professional software components for delivery on the 'open market'. Information covered in the document is based on the knowledge and expertise of those component authors who have successfully established themselves in the component marketplace. The content is aimed at developers who wish to create components based on the Borland Visual Component Library (VCL) framework.
This article describes the steps involved in creating a new VCL component and focuses on several key aspects of the VCL architecture upon which all components are built.
In this article, read about every aspect of Delphi Component building. Design a TTicTacToe component and learn about: how to build our own components for Delphi, how to add properties, methods and custom events to them, how to wrap them around DLLs, how to install them, how to design a palette bitmap and write on-line help to support the component user.
These pages cover creating a simple component, called TCloseButton. There is also a great introduction to object programming and manipulation.
SuperComponents, also known as aggregate or compound components, are collections of existing sub-components and their relationships combined into a single component. The collections are typically arranged inside a container parent component that manages the visual layout of the sub-components.
This first part demonstrates some of the best approaches to building components, and at the same time provides tips on deciding on the best base class to inherit from, using virtual declarations, the complexities of overriding, and so on.
Quite often it's necessary to write components that perform more advanced functions. These components often need to either reference other components, have custom property data formats, or have a property that owns a list of values rather than a single value. In this article, the author will guide you through various examples that demonstrate these techniques.
General component creating article, read about properties, methods, inheritance and other topics. Design your own TMyMemo component.
This paper describes the critical extra steps that must be taken in order to develop professional, commercial-quality components. Specific topics will include creating online component help, effectively designing packages for component distribution, supporting multiple versions of Delphi, and how supporting automatic one-step installation.
This paper provided the basic knowledge you need in order to encapsulate Windows custom controls in Delphi component. Doing this allows you to get maximum usage out of your controls with multiple compilers or programming language - with a great deal of code re-use.
Online chapter from the Teach Yourself Borland Delphi 4 in 21 Days book. How to create the TFlashingLabel component, a regular Label component that flashes its text on the screen.
Properties provide significant advantages, both for you as a component writer and for the users of your components. The most obvious advantage is that properties can appear in the Object Inspector at design time.
When writing components, you often need to store more than one value in a property. TStatusBar.Panels is an example of this situation. To establish this behavior, you need to use collections. See how to build a descendant from TCustomLabel (TLWMultiLabel) that displays one of several different captions depending on a caption index.
Introducing a TComm component for a very simple terminal program that sends out what you type and displays what is being received.
Delphi 5 adds considerable muscle to component development, particularly in regard to component and property editors. You have to learn to keep design-time and runtime separate, however.
This paper outlines some of those techniques that should be known to every VCL database developer.
This tutorial and related example source code demonstrate how to create an ASP component using Delphi. This includes how to add in support for MTS, just-in-time activation, and how to access the ASP built-in objects.
This course is about how to build an ActiveX control using Delphi 3. In addition to presenting a tutorial on how to use Delphi 3's wizards to convert an existing VCL control into an ActiveX control, the course introduces areas where the control designer may want to extend the basic code, and provides in-depth explanation of Delphi's DAX class hierarchy.
Each Delphi component that is created must have a unique name. See some ideas/suggestions.
Design-time and Run-time Packages in Delphi.
Growing collection of articles on component writing tips and techniques