home *** CD-ROM | disk | FTP | other *** search
/ CD Shareware Magazine 1996 December / CD_shareware_12-96.iso / WIN / Programa / CASCCONT.ZIP / README.TXT < prev    next >
Encoding:
Text File  |  1996-09-11  |  4.2 KB  |  113 lines

  1. CascCont: Delphi 32 data-aware components with Cascade feature
  2.  
  3. Version 1.0 September 1, 1996
  4. Version 1.1 September 10,1996
  5.             Added more useful data to the demo database
  6.             Simplified Popup-Menu creation (thanks to Bob Vivrette)
  7.                          Added missing DCU-files
  8.  
  9. (C) Dieter Menne, Biomed Software, Tⁿbingen, Germany
  10. CIS 100016,2125 (Internet: 100016.2125@compuserve.com)
  11.  
  12. A set of data-aware controls for Delphi 2.0 that ensure consistency in 
  13. hierarchical data-entry without additional code. 
  14. Documentation is in WinWord 6.0 format, File CascCont.Doc.
  15.  
  16. Example:
  17.  
  18. 1   x  Did you feel sick during the last week?   (Checkbox)   
  19.       (Implied: if yes, then)
  20.  
  21. 2      x  Headache                               (Checkbox)
  22.          Implied: if yes, then enable            ComboBox with
  23. 3          not
  24. 3          light
  25. 3          severe                      
  26.  
  27. 2     x  Stomach                                (Checkbox)
  28.          Implied: if yes, then enable           ComboBox with
  29. 3         not
  30. 3         light
  31. 3         severe                    
  32.  
  33. This is a three-level hierarchy: if the top item is "missing" (IsNull), then
  34. all subitems can only be "missing" and should not be accessible.
  35. If the top item is "No" (False), all subitems in level 2 and 3 must be "False"
  36. or "Not" and should not be accessible.
  37. If the top item is "True", subitems of level 2 should be accessible. 
  38. Subitems of level 3 should only be accessible if their level 2 item is "True".
  39.  
  40. All controls have a "CascadeSource" and "CascadeField" to link to the field
  41. in the next higher level of the hierarchy.
  42.  
  43. TDbCascCheckBox     (1 logical field )
  44. TDbCascLookupCombo  (integer field for "1-of-N" items)
  45. TDbCascCheckGroup   (group of logical fields for "M-of-N" items)
  46. TDbCascEdit
  47. TDbCascMemo         (Exploding RTF-Memo editor)
  48. TDbCascDateEdit     (derived from a shareware component)
  49.  
  50. TDbCascCheckGroup and TDbCascLookupCombo read lookup-text from a database table.
  51.  
  52. ------------------------------------------------------------------------------------
  53. Quick-install of Demo:
  54.   Extract the Zip file into your playground using "Restore directory structure",
  55.   option -d.
  56.  
  57.   Install the following components from directory .\compon:
  58.      CascCReg.pas
  59.      DateReg.dcu  
  60.      DbRXEdit.Pas
  61.  
  62.   Build project TestCasc.dpr 
  63.   Check the hints of the fields when TestCasc is running for a quick overview.
  64.  
  65. TestCasc does not run outside the IDE since DBCascDateEdit is derived from:
  66.  
  67.      TDateEdit Component V1.6
  68.      Copyright (c) 1996  Wes Kinnett
  69.      Email: 103332.1313@compuserve.com
  70.  
  71.      **COMPUSERVE REGISTRATION ID**
  72.      16&32 Bit W/O Source:   SWREG ID 12683
  73.      16&32 Bit With Source:    SWREG ID 12684
  74.  
  75. When you remove the date edit component from the form, you can run the demo stand-alone.
  76. -----------------------------------------------
  77.  
  78. What ware?
  79.  
  80.   dbrxedit.dcr      
  81.   dbrxedit.pas    
  82. The exploding RTF editor in DbRXEdit.pas uses code from Helmut Tammen's (German)
  83. and James Gabriel's (English) component, who based their's on Borlands TDBMemo.
  84. This component installs into "Data Controls" and can be used independently from 
  85. the Cascade-Controls. Freeware, full source code included.
  86.  
  87.   datereg.dcr       
  88.   dateedit.dcu    
  89.   datereg.dcu     
  90.   dbcalpop.dcu    
  91.   dbdateed.dcu    
  92.   dbcalpop.dfm    
  93.   dateedit.res    
  94.   dbdateed.res    
  95. These files are from Wes Kinnett's DBDateEdit 1.6 which can be separately
  96. downloaded from Compuserve's Delphi 32 Forum. This is IDE-only shareware, 
  97. full version and source available for $10/$20 from the author.
  98. The date-edit components are needed for the demo or if your want to use 
  99. the derived TDBCascDateEdit in your applications. They turn up in the palette
  100. under "Additional" (TDateEdit) and "Data-Controls" (TDBDateEdit)
  101.  
  102. Look for the Cascade-Controls in the following files:
  103.  
  104. casccreg.dcr      
  105. casccont.dcu    
  106. casccreg.pas    
  107. These files are Freeware and can be run outside the IDE without limitations 
  108. (if you don't use TDbCascDateEdit).
  109.  
  110. Currently, no source code is provided, because I want to hear about bugs and
  111. limitations. Everyone who first reports a bug may obtain all sources by e-mail.
  112.  
  113.