Subject | Display problem in TIB_DateTimePicker |
---|---|
Author | Salvatore Besso |
Post date | 2004-07-26T12:39:37Z |
hello all,
second post.
I have found no way to have this component to display the value assigned to
its field. The field in the Firebird database is defined as TIME (no date).
The picker Kind is dtkTime.
When at runtime I assign
Query.FieldByName('TIME_FIELD').AsDateTime := Now
the database field has of course the correct value, but the picker doesn't
display it, showing always the value assigned at design time in the object
inspector. But notice that the same component used with Kind = dtkDate
works fine and it displays the correct value after having assigned one to
its field.
Any hints?
Regards
Salvatore
second post.
I have found no way to have this component to display the value assigned to
its field. The field in the Firebird database is defined as TIME (no date).
The picker Kind is dtkTime.
When at runtime I assign
Query.FieldByName('TIME_FIELD').AsDateTime := Now
the database field has of course the correct value, but the picker doesn't
display it, showing always the value assigned at design time in the object
inspector. But notice that the same component used with Kind = dtkDate
works fine and it displays the correct value after having assigned one to
its field.
Any hints?
Regards
Salvatore