Solved

How to validate a TField when losing DBEdit focus.

Posted on 1998-12-03
1
609 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 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

14 Experts available now in Live!

Get 1:1 Help Now