Article View: borland.public.cppbuilder.database.ado
Article #3831TField::OnValidate useless
From: Georgi Cholakov
Date: Wed, 05 Jun 2002 06:59
Date: Wed, 05 Jun 2002 06:59
13 lines
1349 bytes
1349 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:
<3cfdb789_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!netnews.com!xfer02.netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,34d24d013321fb6,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-06-05 00:03:29 PST From: "Georgi Cholakov" <georgi.cholakov@mail.bg> Newsgroups: borland.public.cppbuilder.database.ado Subject: TField::OnValidate useless Date: Wed, 5 Jun 2002 09:59:14 +0300 Lines: 15 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: <3cfdb789_1@dnews> X-Trace: dnews 1023260553 212.116.157.202 (5 Jun 2002 00:02:33 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!netnews.com!xfer02.netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews