Article View: borland.public.cppbuilder.database.ado
Article #3832TField::OnValidate useless
From: Georgi Cholakov
Date: Wed, 05 Jun 2002 07:00
Date: Wed, 05 Jun 2002 07:00
13 lines
1594 bytes
1594 bytes
Hi, guys :-) I've tried everything to control the user input in TDateTimeField (also TBCDField), but every time when the user input is wrong a message box appears (with message "1.1.1 is not valid date and time." for example) before my checks that i wrote in OnValidate event. I want to prevent this message box appearance and then to take the control in my code. Does anybody know how to do this? Thank you very much. -- Sincerely, Georgi Cholakov
Technical Details
Message-ID:
<3cfdb798_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-stuttgart.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,34d24d013321fb6 X-Google-Attributes: gid10698b,public X-Google-Thread: fc5f9,ab74ff14f47975e4,start X-Google-Attributes: gidfc5f9,public X-Google-ArrivalTime: 2002-06-05 00:03:47 PST From: "Georgi Cholakov" <georgi.cholakov@mail.bg> Newsgroups: borland.public.cppbuilder.database.ado,borland.public.cppbuilder.database.sqlservers Subject: TField::OnValidate useless Date: Wed, 5 Jun 2002 10:00:23 +0300 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2532.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2532.0000 NNTP-Posting-Host: 212.116.157.202 Message-ID: <3cfdb798_1@dnews> X-Trace: dnews 1023260568 212.116.157.202 (5 Jun 2002 00:02:48 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-stuttgart.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews