[DUG] RE Data validation.

Marshland Engineering marshland at marshland.co.nz
Mon Jun 6 15:12:22 NZST 2011


After a bit of experimenting, it seems that the OnValidate is triggered once you leave the dbEdit box and it is before the Post is committed. This means that you get a message directly after the box you have just entered the data into. 
 
This words great for data validation across many forms, but, it tells you the error, however it does not does not return you the box you have just left. Is there a way to put the cursor back to the dbEdit box if an error is encountered ?

Along a similar line, is there a way to find where the cursor is within a string in and edit box ?

Thanks Wallace




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110606/cb3c2126/attachment.html 


More information about the Delphi mailing list