For example, using 2 TMaskEdit controls w/ supplied phone mask
in a rotating Tabstop cycle, and intentionally tab out knowing info is
incomplete,,, a "EDBEditError" exception is raised...
I tried "ValidateExit" in a "try" section of protected block in OnExit,
OnKeyDown etc, but could not capture.
Perusing the "Mask" unit, much of the detail is still a bit beyond me,
however it appears this exception is initiated by "ValidateExit", which is
private. So, my question is, what code goes in "Try", &
what event is it fired in. A little code sample would be appreciatted.
Most of the stuff I've tried works as advertised, & I am assumming
there is a convenient way to do this....
Thanks...
Jim McKay <jmc...@global.california.com>
Look for the DBVldEdit component, A DBEdit With it's own EditMask property and
an OnValidate event which is gfired before leaving the field. giving you the
oppertunity to check and alter the input.
Look for it at http://www.skzl.nl/~jvdvelde
Kind regards, Sjef