problem in using dateentry



Hello,
I'm having the same problem. Googled a bit the clt newsgroup and
couldn't find anything relevant.
I'm using Tcl8.4.13 / Tk8.4.13.
Also found that -outline, -days, -startday methods don't work...
(bummer, I'm from europe and I need to start the week with Monday).
Can someone point me to a solution? (other than using another widget
library)

Thanks a lot.

PS: The weird thing is that the original post is from 2002 and no
answer/reply until now!?

Newsgroups: comp.lang.tcl
From: sucgu...@xxxxxxxxxxx (suchita)
Date: 10 Oct 2002 05:21:31 -0700
Local: Thurs, Oct 10 2002 2:21 pm
Subject: problem in using dateentry

Hi,
I am using dateentry widget and have associated a commad with it, to
get the value of the date displayed in the widget.

sample code:

iwidget::dateentry .dt -command getDate

proc getDate { } {
puts [ .dt get ]

}

but this command doesn't get invoked unless until, i press the enter
key.
I want this to get invoked as soon as the focus shifts from this
widget.
I don't want to press enter every time i change the value, instead
changed value should be reflected on focus shift.

Please tell if how this can be done.

Thanks,
Suchita.

.