Subject Re: [IBO] Re: Date mask
Author Ales Kahanek
Yes, that´s it! I use the enhanced components and tried to fight with
the different formatting (when focused, then the date was 1.1.2003
otherwise 1,1,2003), but with no success.

Now I do not use datetime mask anymore, I am happy with my
dateprocessing function.
Ales

Marco Menardi wrote:
> Oh, well, as far as I remember, there was a complain about this by
> Geoff Worboys a long time ago. Since I always use edit mask I did not
> follow the problem, but it was right about asking why there was a
> change in code forcing a default mask when it was not set.
> mmm, I've found the message, here for your (and Jason) convenience:
>
>
> Geoff Worboys wrote:
> -------
> Message# 20610
> From: Geoff Worboys <geoff@t...>
> Date: Sun Sep 22, 2002 3:09 pm
> Subject: Date and Time Formatting
>
> Hi All,
>
> I have not been keeping up to date with all IBO changes for a while
> due to other committments. I've only just noticed that there is
> a change which forces date and time formatting to system defaults
> when no DisplayFormat has been specified.
>
> Previously (and still for other types of data) IBO would use
> DisplayFormat if defined, otherwise it would use an EditMask if
> defined - and then revert to system defaults. I have been relying
> on this situation to have my dates formatted via the editmask,
> and never bother defining DisplayFormats.
>
> As things stand with the (recent?) change all my date/time fields
> change their display depending on whether they are focused
> (formatted with the editmask) or not focused (formatted with the
> system defaults). This is rather annoying. I could run around
> and try and duplicate all the formatting instructions of my
> editmasks inside DisplayFormat but it does seem rather a waste.
>
> Can anyone tell me why the previous method of producing display
> text was inadequate?
>