Subject Re: [IBO] Re: IB_Edit with date field shows extra space before year
Author Raymond Kennington
"Marco Menardi " wrote:
>
> It's not an answer to your question, but have you tried the IB_Date
> component?

Jason pointed out to me that it is not a fully-functional component and is not
supported.

Also, I want to have an ellipsis button to bring up my own date and time picker.

> a) it should (could) work
> b) if something related to date handling has to be fixed, I would
> prefer fixing it in a specialized component first

It doesn't do what I need.

The TIB_Edit component is more fundamental than the datetimepicker and works
fine with 4-digit years.

> c) TDBDate (standard VCL) I think is even worse ;)
> final: what edit mask did you define?

I have not specified an edit-mask. Therefore it uses the default edit-mask. It
is this automatically-defined edit-mask that is not correct when regional
setting is for a 2-digit year.

>
> --- In IBObjects@yahoogroups.com, Raymond Kennington <progsol@c...> wrote:
> > The short year format is d/mm/yy.
> >
> > The IB_Edit control is connected to a date field.
> >
> > When the control is active and the date is 6/12/03
> > it displays as 6/12/ 03 and it is not easy to change
> > the year value.
> >
> > How can I change this behaviour?

--
Raymond Kennington
Programming Solutions
W2W Team B