Subject Re: [IBO] Re: IB_Edit with date field shows extra space before year
Author Raymond Kennington
"Marco Menardi " wrote:
>
> --- In IBObjects@yahoogroups.com, Raymond Kennington <progsol@c...> wrote:
> > "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.
>
> No, I'm talking about the very well supported (also by me, since I
> have an extensive use of it) IB_Date, not datetimepicker (never used)

Ok. I'll look at it.

>
> >
> > Also, I want to have an ellipsis button to bring up my own date and
> time picker.
>
> There is a button to bring up a very nice calendar, but nothing for
> time, nothing you can customize, I suppose. But maybe intercepting the
> "OnButtonClick" can do the trick.

My calendar uses LMD's calendar, InfoPower's DateTimePicker and also Raize's
TimePicker Clock component. I have added a significant amount of extra
functionality and control too. There is nothing like this anywhere.

I'll try your OnButtonClick.

...
> The problem is that date format is a nightmare. Since I very often use
> 2 digit year, I've tested IB_Date and it works even with a 4 year
> display format (edit yy, display yyyy). The problems can be from the
> only one digit day you told you need 'd/mm/yy'. Hope you can use
> dd/mm/yy instead, since it's what IB_Date supports.

The spec for the project requires that dates and time conform to the regional
settings, so I have not control over this and d/MM/yy is common.

...

> As a tip, I tell you that I have database with domains and define
> field attributes using IB_Connection, feDomains. This is a really
> fabolous time saving / error free / common behaviour "plus" of IBO.
> regards

Thanks! That could save me significant time by not having to load and set the
formats for each field on each form.

--
Raymond Kennington
Programming Solutions
W2W Team B