Unit Dame |
----------------------------------------------------------------------------} { Data aware masked edit component for Delphi and Delphi 2. } { Copyright 1995, Curtis White. All Rights Reserved. } { This component can be freely used and distributed in commercial and } { private environments, provied this notice is not modified in any way. } { ----------------------------------------------------------------------------} { Feel free to contact me if you have any questions, comments or suggestions } { at cwhite@teleport.com } { ----------------------------------------------------------------------------} { Date last modified: 01/06/97 } { ----------------------------------------------------------------------------} { ----------------------------------------------------------------------------} { TDBMaskEdit v1.50 } { ----------------------------------------------------------------------------} { Description: } { A data aware masked edit box. } { Features: } { Same as a normal masked edit box except box can be filled by a database } { field. It only masks data being input into the database. Data from } { the database is displayed exactly as it is stored on the database. } { ----------------------------------------------------------------------------} { ----------------------------------------------------------------------------} { Revision History: } { 1.00: Initial release } { 1.01: Fixed bug to allow mask to be used in DB set. Created constructor } { that sets the MaskState to msDBSetText. Also enabled the EditText } { property. This will allow a masked edit to be posted to a database } { field. } { 1.02 Had to completely change the code to derive from TCustomMaskEdit } { instead of TDBEdit. TDBEdit had problems where it forced the Mask } { to Nil if the TField mask was Nil. It now sets the mask to match } { the TField mask only if the TField mask is not Nil. If it is Nil } { then the TDBMaskEdit uses it's own mask. The database fields are } { displayed exactly as they appear on the database. The TDBMaskEdit } { only limits data being input to whatever the mask is set to. It } { does not limit the data coming from the database to the mask. } { 1.50: Separated all the data aware buttons to separate files to allow them } { be selectively installed. Also made them compile under Delphi 2. } { ----------------------------------------------------------------------------
Classes |
TDBMaskEdit - TDBMaskEdit } { Data Aware Mask Edit
TDBMaskEdPropAbout - --------------------------------------------------------------------} { TDBMaskEdit Property AboutBox
Functions |
Register - ----------------------------------------------------------------------------} { Register the components
Types |
Constants |
Variables |
Functions |
Types |
Constants |
Variables |