#1138: dGrid with dDateTextBox
--------------------------+-------------------------------------------------
Reporter: gary | Owner: somebody
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: ui | Version: 0.8.3
Resolution: | Keywords: dGrid dDateTextBox wx
--------------------------+-------------------------------------------------
Comment (by gary):
Replying to [comment:9 ed]:
> Replying to [comment:8 gary]:
>
> > Basically, key events are being sent but the problem is I'm confused
with the usage of dDateTextBox. Sometimes I might use a Value of string
type and then end up with a date type when I'm reading back (I think it's
the Calendar that leaves a date type).
>
> dDateTextBox should '''''only''''' be used with date values. I'm
surprised that it works at all with strings.
>
>
I found that when using this type of control linked to a Date field of
type date, the textbox was populated with a unicode string of the date.
When the box is then edited, a date object then populated <object>.Value.
Unfortunately it was some time ago that I worked with this but I remember
having problems not being sure if I was getting a unicode string of the
date or a date object when working with the dDateTextBox.Value property.
When I get a change I will try and dig up the project I was working on to
see more clearly what some of the issues were. I may have just not been
using the control properly.
--
Ticket URL: <http://trac.dabodev.com/ticket/1138#comment:10>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]