Re: problem in using dateentry
- From: Ron Fox <fox@xxxxxxxxxxxx>
- Date: Wed, 31 Oct 2007 07:17:41 -0400
osalcescu@xxxxxxxxx wrote:
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)
As far as the focus out goes.. you can/need to bind a FocusOut event
to deal with that... See the documentation for the bind command.
You will need to bind to the underlying entry widget in the
underlying date field component to get this to really work.
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.
- References:
- problem in using dateentry
- From: osalcescu
- problem in using dateentry
- Prev by Date: can't find package __teapot__ ???
- Next by Date: Re: can't find package __teapot__ ???
- Previous by thread: problem in using dateentry
- Next by thread: Tcl/Tk 8.5b2 RELEASED
- Index(es):