Add EditMask and EditMaskPtr properties to TField
Original Reporter info from Mantis: luizamerico
-
Reporter name: Luiz Americo
Original Reporter info from Mantis: luizamerico
- Reporter name: Luiz Americo
Description:
This addition is for Delphi compatibility and a requirement to LCL improve DB controls implementation.
EditMask is used to share a common mask for DB controls (TDBEdit, TDBGrid).
Like Delphi is published in TStringField, TDateTimeField and its descendants
It requires a TEditMask type declared in MaskUtils.
PS: It seems that while trying to compile sqlite, dbase, sdf and paradox units, the compiler try to recompile db unit giving the error "MaskUtils not found". To fix this error is necessary to add fcl-base requirement for the makefiles in those directories. Together with the actual patch there are patches for fpcmakefiles and makefiles.
The complete description of the error: http://lists.freepascal.org/lists/fpc-devel/2010-April/019777.html
Mantis conversion info:
- Mantis ID: 16555
- Version: 2.5.1
- Fixed in version: 2.6.0
- Fixed in revision: 15425 (#81c3db66)
- Monitored by: » silvioprog (silvioprog)
- Target version: 2.5.1