Subject Re: [IBO] How suppress the message "is not a valid date"
Author Helen Borrie
At 02:46 AM 28/10/2006, you wrote:
>Dear Helen,
>
> Inside the "IB_Constants.pas" there is not a message "is not a valid
>date" and inside the "IB_Constants-br.pas" there isnĀ“t too!
>
> I try find this string!!
>
> Have you idea where is this message?

Oh-ah! This is a Delphi exception,
EDateTimeError, that specifically is thrown from
controls derived from the Windows calendar
controls. If you don't have your Delphi
localized, you will need to create some custom
exceptions/exception handlers that intercept the
likely Delphi exceptions and deliver an
alternative message to the user in the local
language. There are many ways to achieve this.

If you have not done exception handling in Delphi
before, there are some absolute basics at this site:

http://www.delphibasics.co.uk/Article.asp?Name=Exceptions

There is also a TechInfo sheet on the subject at
www.ibobjects.com/TechInfo.html

Helen