home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 25: Programming / pc_actual_25.iso / Delphi / CompositeComponentsPack / README.1ST
Encoding:
Text File  |  1999-02-12  |  4.7 KB  |  139 lines

  1.  
  2. Ver 4.5 (13 Feb 99)
  3.  
  4. =====================================================================
  5.               Composite Components Pack  (CCPack)
  6.                 for Delphi 3,4 and C++Builder 3,4
  7. =====================================================================
  8.  
  9.               THIS SOFTWARE IS DISTRIBUTED "AS IS".  
  10.  
  11. NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED.  YOU USE AT YOUR OWN 
  12. RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS, DAMAGES, LOSS OF 
  13. PROFITS OR ANY OTHER KIND OF LOSS WHILE USING OR MISUSING THIS SOFTWARE. 
  14.  
  15. =====================================================================
  16.  
  17. CCPack provides a Composite Component Wizard to facilitate the 
  18. creation of composite components. You can find it in the Delphi 
  19. Repository dialog on the "New" page as "Composite Component" item.
  20.  
  21. CCPack enables you compound components and their relationships 
  22. into a single native VCL component. Just drop existing components 
  23. on your component in the visual designer. This process looks like
  24. creating ActiveForm. 
  25.  
  26. Now CCPack includes 4 basic component containers:
  27.   - TBox (a special version of Panel)
  28.   - TControlGroupBox (a special version of GroupBox)
  29.   - TControlScrollBox (a special version of TScrollBox)
  30.   - TToolBarBox (a special version of ToolBar)
  31.  
  32. Also you can find 2 demo composites for Delphi 4 and C++Builder 4:
  33.   - TBxDualLis
  34.   - TBxRichToolBar
  35.  
  36. You can register your composite components in the Delphi Component 
  37. palette with the same method as for usual your components.
  38.  
  39. Before using CCPack you need install two packages into the IDE:
  40.   - DclBox40.bpl (design-time package)
  41.   - DsnBox40.bpl  (design-time package with Composite Components wizard)
  42.  
  43. Also, you can include to run-time package list:
  44.   - box40.bpl (run-time package)
  45.  
  46. To access to demo composites use:
  47.   - DclBx40.bpl as design-time package
  48.   - Bx40.bpl for run-time
  49.  
  50.  
  51. You can use the visual inheritance for composite components created 
  52. with CCPack. For this:
  53.  
  54. - Add your component to the Delphi Repository: 
  55.     1. open your composite component unit in editor
  56.     2. select visual designer form for your composite component
  57.     3. click right mouse button for local menu
  58.     4. choose "Add To Repository ..." item and save your component
  59.  
  60. - Create new descendant for your composite component:
  61.     5. select "File | New ..." menu item for "New Item" Dialog
  62.     6. choose your component in Repository
  63.     7. select "Inherit" radio button
  64.     8. click "Ok" button for creating new unit with descendant of
  65.        your composite component.
  66.  
  67. Please, include to comments for your components that the developers 
  68. can use the visual inheritance feature with them.
  69.  
  70. If you clear "Palette Page" value in "New Composite Component" dialog
  71. Composite Component Wizard creates new unit without Register procedure.
  72.  
  73. =====================================================================
  74.  
  75. More information
  76. ----------------
  77.  
  78. For checking version of current CCPack file check the time of these 
  79. files (for example - 1:30 for version 1.3).
  80.  
  81. File fixes.txt includes the comments, cheanges and bug fixes list 
  82. for all versions of CCPack.
  83.  
  84. Check the latest news and more information about CCPack at address:
  85.   http://www.geocities.com/SiliconValley/Way/9006/
  86.  
  87. =====================================================================
  88.  
  89. Tips
  90. ----
  91.  
  92. - don't forget to save you component before compile/install,
  93.   otherwise Delphi IDE can't add sub-components units to USES;
  94.  
  95. - you don't need set the Parent property for your composite component
  96.   in run-time code: an Owner passed to constructor Create would 
  97.   be setted as a Parent;
  98.  
  99. - set the sub-component names to "unique names" 
  100.   ( for example by template Author_Component_Edit1 );
  101.  
  102.  
  103. Notes
  104. -----
  105.  
  106. - unit BoxFixEd.pas includes some bug fixes for some VCL component 
  107.   and property editors for using them with new Custom Modules for 
  108.   TWinControl descendants;
  109.  
  110. =====================================================================
  111.  
  112. Redistributable files 
  113. ---------------------
  114.  
  115. You can free use and redeploy CCPack in any your 
  116. freeware/shareware/commercial software.
  117.  
  118. Please, refer in your composite components descriptions that
  119.   "<...> components created with CCPack by Sergey Orlik".
  120.  
  121.  
  122. =====================================================================
  123.  
  124. About Author
  125. ------------
  126.  
  127.   Sergey Orlik
  128.   product manager 
  129.   Inprise Moscow Office
  130.  
  131.   personal home page: 
  132.     http://www.geocities.com/SiliconValley/Way/9006/index.html
  133.  
  134. =====================================================================
  135. Copyright (c) Sergey Orlik, 1997-99
  136. =====================================================================
  137.  
  138.   
  139.