Solved

How to validate a TField when losing DBEdit focus.

Posted on 1998-12-03
1
610 Views
Last Modified: 2012-08-13
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
Comment
Question by:davichoi
1 Comment
 
LVL 8

Accepted Solution

by:
ZifNab earned 30 total points
ID: 1349170
davichoi

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

Regards, Zif.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now