Ver Mensaje Individual
  #4  
Antiguo 05-10-2006
Avatar de Caral
[Caral] Caral is offline
Miembro Premium
 
Registrado: ago 2006
Posts: 7.659
Reputación: 25
Caral Va por buen camino
Esto dice el archivo de ayuda esta en ingles:
Cita:
Defining a new component
Opening a component definition file
Summary of advanced features

Menus

Component navigator
Main page
Properties page
Methods page
Events page
Variables page

Code editor
Text editor
File viewer

How do I
. . . install my new component onto the Delphi palette?

. . . change the palette bitmap of my new component?

. . . set the default value of an inherited property or hide the property?
. . . add properties with new enumerated types?
. . . publish a set property with many elements?
. . . add properties of object types?
. . . add properties that reference other components?
. . . add properties like the Items and Lines properties in VCL components?

. . . add events with custom types?

. . . create a component that wraps around a Delphi form?

. . . create a component with multiple sub-components?
. . . publish properties and events of sub-components?

. . . create a custom property editor?
. . . register a custom property editor that I already have?

. . . make a component data-aware?

. . . create a data-aware business rule component?

. . . work with multiple component definitions at a time?

Occasionally asked questions

Sample files
y los archivos de ejemplo:
Cita:
The following sample files are provided in your Component Create directory:

Basic component creation (/Basic subdirectory)

clock.cd (TClockLabel): Label that displays current date and time. Illustrates updating of component with TTimer.

inifont.cd (TIniFont): Maintains a font value in its Font property. Links with the .INI file, if any, named in its IniFile property.

monthcmb.cd (TMonthCombo): Combo box with list of months. Illustrates setting fixed contents of a string list property within component, unpublishing inherited properties, using Loaded method to set property values that depend on other properties.

mygrid.cd (TMyGrid): String grid with custom cell drawing.

obj_prop.cd (TObjectPropertyDemo): Illustrates object-type properties and component-type properties (i.e., properties referencing another component).

progress.cd (TProgress): Simple progress bar control. Illustrates painting a component from scratch.

rtfopen.cd (TRtfOpen): Dialog for opening an RTF file. Illustrates descending from a common dialog component, unpublishing an inherited property (Options).

undomemo.cd (TUndoMemo): TMemo control with undo. Illustrates KeyPress handling.

Container component creation (/Contain subdirectory)

ol_panel.cd (TOutlinePanel): Outline plus Shrink and Expand buttons to control it. Several sub-component properties and events are published.

ol.dfm: Source file from which ol_panel.cd was imported.

Custom property editor registration and generation (/Propedit subdirectory)


propedit.cd (TPropEditDemo): Component that registers property editors.

edit_int.dfm, edit_int.pas: Sample property editor form for integer property.

edit_flt.dfm, edit_flt.pas: Sample property editor form for floating-point property.

edit_str.dfm, edit_str.pas: Sample property editor form for string property.

edit_sl.dfm, edit_sl.pas: Sample property editor form for TStrings or TStringList property.

Data-aware component creation (/DB subdirectory)

dblabel.cd (TDbLabel): Data-aware label, similar to TDbText; illustrates read-only data link

multfld.cd (TMultiFieldLabel): Data-aware label with data links to two fields of a data source

dbunedit.cd (TDbUndoEdit): Data-aware edit box with undo; illustrates read-write data link

Business rules components (/BusComp subdirectory)

This subdirectory contains rzbizcmp.zip, which in turn contains the source code files and form files for the Raize Software Solutions, Inc. business component framework. These files are copyrighted by Raize Software Solutions, Inc. and are included with their permission. The key files are as follows:

empedtr2.dpr, edtr2frm.dfm, edtr2frm.pas: Demo of TRzBusinessComponent, TRzBusinessTable, and TRzErrorHandler components.

rzbizcmp.pas: Source code for TRzBusinessComponent, TRzBusinessTable, and TRzBusinessQuery components.

rzdbemp.pas: Sample business component, TRzDBEmployee.

rzbizreg.pas: Unit for registering TRzBusinessComponent, TRzErrorHandler, TRzBusinessTable, TRzBusinessQuery, and TRzDBEmployee sample in Delphi 1.0 component library.

rzbiz32.pas: Unit for registering TRzBusinessComponent, TRzErrorHandler, TRzBusinessTable, TRzBusinessQuery, and TRzDBEmployee sample in component library for Delphi 2.0 or later.

Thread Component Toolset (/Threads subdirectory)

The 32-bit version of Component Create includes the Thread Component Toolset, which is installed into this directory. See the Threads.hlp file for information on the included files.

The 16-bit version of Component Create includes only the Threads.hlp file in this directory.
creo que en base a una clase se puede crear otra con eventos y procedimientos diferentes.
Saludos
Responder Con Cita