I have a Listbox defined

self.list = Listbox(self.frame)

What I want to do is when the user either single clicks, double clicks, presses 
tab or return, move the focus to the specified field

                self.list.bind("<Button-1>", self.login_userid.focus_set())
                self.list.bind("<Double-Button-1>", 
self.login_userid.focus_set())
                self.list.bind("<Tab>", self.login_userid.focus_set())
                self.list.bind("<Return>", self.login_userid.focus_set())

If I can get this working, I should be able to get the other bindings to work.
Chris Hare
ch...@labr.net
http://www.labr.net

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to