Subject | Re: More TIB_DateTimePicker problems for Time field |
---|---|
Author | gsbrown@GerBreOwn.com |
Post date | 2001-01-03T13:26:12Z |
--- In IBObjects@egroups.com, "Jason Wharton" <jwharton@i...> wrote:
appropriate mask.
feel of the control is fine. It just needs to be able to link to a
'TIME' field in a table. I think that a TIB_EditEnh with an
appropriate mask should work fine. I would it to be able to show/not
show seconds based on developers choice.
for Date or DateTime. I dont think its date display is as elegant as
the one provided by Lars, but it works.
GB I tried that control and you are right. It is not suitable for
time editing.
GB What I have done in my application is to use the standard Delphi
DateTimePicker with two 'hidden' TIB_Edit boxes. When the user
clicked/left the controls the values are passed to the TIB_Edit boxes
which are linked to the appropriate fields.
clock could be put on it that would allow such a feature.
> Geoff,expect that TIB_EditEnh could be used for time editing with the
>
> > Do you want a drop-down box for time editing? If not then I
appropriate mask.
> >GB I don't see any need for a drop-down box. The current look and
feel of the control is fine. It just needs to be able to link to a
'TIME' field in a table. I think that a TIB_EditEnh with an
appropriate mask should work fine. I would it to be able to show/not
show seconds based on developers choice.
> > Also, in the EnhComponents is a TIB_DateTimeEnh control. I dontthink it is suitable for just time editing - but it can be used used
for Date or DateTime. I dont think its date display is as elegant as
the one provided by Lars, but it works.
GB I tried that control and you are right. It is not suitable for
time editing.
GB What I have done in my application is to use the standard Delphi
DateTimePicker with two 'hidden' TIB_Edit boxes. When the user
clicked/left the controls the values are passed to the TIB_Edit boxes
which are linked to the appropriate fields.
>could hook into in the button click? Perhaps a button with a little
> I would love such an animal. Are there any time controls that we
clock could be put on it that would allow such a feature.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com