Thread
:
Bind <Key-Return> to an Entry
View Single Post
Jul 31st, 2005, 1:07 PM
#
2
mackenga
Professional Programmer
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power:
4
Use the bind command:
(
Toggle Plain Text
)
bind .entry1 <Return> { focus .entry2 }
bind .entry1 <Return> { focus .entry2 }
should do it (obviously substitute your own entry widget window pathnames for .entry1 and .entry2).
mackenga
View Public Profile
Visit mackenga's homepage!
Find More Posts by mackenga