A component can be almost any program element that you want to manipulate at design time. Creating a component means deriving a new class from an existing one. You can derive a new component in several ways:
Component creation starting points
To do this |
Start with this type |
Modify an existing component |
Any existing component, such as TButton or TListBox, or an abstract component type, such as TCustomListBox |
Create a windowed control |
TWinControl |
Create a graphic control |
TGraphicControl |
Subclassing a control |
Any Windows control |
Create a nonvisual component |
TComponent |
You can also derive classes that are not components and cannot be manipulated on a form, such as TRegIniFile and TFont.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|