Subject Re: TIB_Date " / / "
Author Marco Menardi
There is something wrong in how VCL (and the inheret IB_Edit) manages
date separator if already present in the mask.
i.e. edit mask:
!99/99/9999;1_
if I type 04/02 the cursor shoud stay after /, instead it goes after
the second '/', like it was trying to skip the date separator...
04/__/02
It whould be easy to fix this, so you could type '/' (or your locale
date separator) regardless the edit mask... what do you think?
regards
Marco Menardi

--- In IBObjects@y..., Raymond Kennington <progsol@c...> wrote:
> Marco Menardi wrote:
> >
> > Tracing the code I've found that a workaround is:
> > EditMask=99C99C99;0
> > and, for a better looking behaviour
> > DisplayFormat=dd/mm/yyyy (or mm/dd/yyyy)
> > I would be curious to know the behaviour of standard VCL, since the
> > problem seems from standard VCL mask interpretation.
> > But, I think that your customer is really short sight one...
> > How can he prefer typing '/' all the time?
> > regards
> > Marco Menardi
>
> When one enters dates in documents one gets used to typing a date
without thinking. The
> slashes are automatic. It's quicker to enter them than not. Then all
date entries in all
> products become the same.
>
> I've had demands from clients to remove edit-masks completely, in
particular for dates.
> --
> Raymond Kennington
> Programming Solutions
> W2W Team B