TDBedit + MASK lazarus / 16-Databases ---------------------------------------------------------------------- k1attila1 · 2015-06-05 10:08 Dear Friends/colleagues I use TDBedit with a MASK (Field Mask). But if i enter not appropriate text and i press TAB (lost focus) i get the following message : "The current text does not match the specified mask." Can i prevent it or change to an another message ? thanks Attila ---------------------------------------------------------------------- kpeters58 · 2015-06-05 17:15 You can do all of that since you have the source code ... However, doing something like working with the OnEditingDone event might work better for you. ---------------------------------------------------------------------- Bart · 2015-06-05 21:34 Or use Application.OnException. Bart ---------------------------------------------------------------------- k1attila1 · 2015-06-07 08:45 thanks Bart Application.onexception works well. Attila