Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 650
  • Last Modified:

How to validate a TField when losing DBEdit focus.

Where can I put the Try...Exception...end;
code to check if the user typed correctly when
leaving the TField? Delphi shows the exception
message automatically if the input value is
invalid, but I wanted to show my personalized
messages. I tried everything to validate before
Delphi, but Delphi always shows the exception
messages first. Please give me an example.
0
davichoi
Asked:
davichoi
1 Solution
 
ZifNabCommented:
davichoi

look at onposterror, onediterror, onupdateerror, ondeleteerror events of table component

Regards, Zif.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now