home *** CD-ROM | disk | FTP | other *** search
- CascCont: Delphi 32 data-aware components with Cascade feature
-
- Version 1.0 September 1, 1996
- Version 1.1 September 10,1996
- Added more useful data to the demo database
- Simplified Popup-Menu creation (thanks to Bob Vivrette)
- Added missing DCU-files
-
- (C) Dieter Menne, Biomed Software, Tⁿbingen, Germany
- CIS 100016,2125 (Internet: 100016.2125@compuserve.com)
-
- A set of data-aware controls for Delphi 2.0 that ensure consistency in
- hierarchical data-entry without additional code.
- Documentation is in WinWord 6.0 format, File CascCont.Doc.
-
- Example:
-
- 1 x Did you feel sick during the last week? (Checkbox)
- (Implied: if yes, then)
-
- 2 x Headache (Checkbox)
- Implied: if yes, then enable ComboBox with
- 3 not
- 3 light
- 3 severe
-
- 2 x Stomach (Checkbox)
- Implied: if yes, then enable ComboBox with
- 3 not
- 3 light
- 3 severe
-
- This is a three-level hierarchy: if the top item is "missing" (IsNull), then
- all subitems can only be "missing" and should not be accessible.
- If the top item is "No" (False), all subitems in level 2 and 3 must be "False"
- or "Not" and should not be accessible.
- If the top item is "True", subitems of level 2 should be accessible.
- Subitems of level 3 should only be accessible if their level 2 item is "True".
-
- All controls have a "CascadeSource" and "CascadeField" to link to the field
- in the next higher level of the hierarchy.
-
- TDbCascCheckBox (1 logical field )
- TDbCascLookupCombo (integer field for "1-of-N" items)
- TDbCascCheckGroup (group of logical fields for "M-of-N" items)
- TDbCascEdit
- TDbCascMemo (Exploding RTF-Memo editor)
- TDbCascDateEdit (derived from a shareware component)
-
- TDbCascCheckGroup and TDbCascLookupCombo read lookup-text from a database table.
-
- ------------------------------------------------------------------------------------
- Quick-install of Demo:
- Extract the Zip file into your playground using "Restore directory structure",
- option -d.
-
- Install the following components from directory .\compon:
- CascCReg.pas
- DateReg.dcu
- DbRXEdit.Pas
-
- Build project TestCasc.dpr
- Check the hints of the fields when TestCasc is running for a quick overview.
-
- TestCasc does not run outside the IDE since DBCascDateEdit is derived from:
-
- TDateEdit Component V1.6
- Copyright (c) 1996 Wes Kinnett
- Email: 103332.1313@compuserve.com
-
- **COMPUSERVE REGISTRATION ID**
- 16&32 Bit W/O Source: SWREG ID 12683
- 16&32 Bit With Source: SWREG ID 12684
-
- When you remove the date edit component from the form, you can run the demo stand-alone.
- -----------------------------------------------
-
- What ware?
-
- dbrxedit.dcr
- dbrxedit.pas
- The exploding RTF editor in DbRXEdit.pas uses code from Helmut Tammen's (German)
- and James Gabriel's (English) component, who based their's on Borlands TDBMemo.
- This component installs into "Data Controls" and can be used independently from
- the Cascade-Controls. Freeware, full source code included.
-
- datereg.dcr
- dateedit.dcu
- datereg.dcu
- dbcalpop.dcu
- dbdateed.dcu
- dbcalpop.dfm
- dateedit.res
- dbdateed.res
- These files are from Wes Kinnett's DBDateEdit 1.6 which can be separately
- downloaded from Compuserve's Delphi 32 Forum. This is IDE-only shareware,
- full version and source available for $10/$20 from the author.
- The date-edit components are needed for the demo or if your want to use
- the derived TDBCascDateEdit in your applications. They turn up in the palette
- under "Additional" (TDateEdit) and "Data-Controls" (TDBDateEdit)
-
- Look for the Cascade-Controls in the following files:
-
- casccreg.dcr
- casccont.dcu
- casccreg.pas
- These files are Freeware and can be run outside the IDE without limitations
- (if you don't use TDbCascDateEdit).
-
- Currently, no source code is provided, because I want to hear about bugs and
- limitations. Everyone who first reports a bug may obtain all sources by e-mail.
-
-