[Lazarus] To TDBEdit users: EditMask property about to being ignored
joshyfun at gmail.com
Tue Mar 6 13:39:08 CET 2012
Tuesday, March 6, 2012, 1:26:18 PM, you wrote:
>> TDBEdit.EditMask should be ignored only if it has default value
>> (nothing), if it has a value it should override field mask IMHO.
JM> Why should there be 2 EditMasks? To confuse people maybe?
JM> Just remove TDBEdit.EditMask if it is not used.
There are 2 possibilities. Same field could be editted in two
different controls at the same time, like a TDBGrid and a TDBEdit, but
in TDBGrid you can use a more compact mask for editing a date (in
example) but a more verbose in a TDBEdit.
The second one is that if the user does not define a edit mask he/she
can not use a TDBMaskEdit (it does not exists). The presence of a
TDBMaskEdit in the component palette will invalidate this of course.
Anyway if TDBEditMask is removed I will not complaint.
More information about the Lazarus