[Lazarus] How can i mask an input on dbedit? Maskedit not ready!
Bart
bartjunk64 at gmail.com
Tue Oct 6 16:18:54 CEST 2009
You can also try building the program with -dNOVALIDATEONEXIT, this
will suppress the validating when the controll looses focus.
You can do validating then by yourself
procedure SomeDBEditChange(Sender: TObject);
begin ...
try
(Sender as TMaskEdit).ValidateEdit;
except
ShowMesage('Validation failed');
end;
...
end;
Finallly, try r22053, where I fixed some minor bugs in TMaskEdit.
Bart
More information about the Lazarus
mailing list