Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Focus on an Entry widget

Status
Not open for further replies.

RedMatt

Programmer
Jul 24, 2001
3
0
0
FR
How to set the default focus in an Entry widget ?

I have a dialog box with an Entry widget and I want to set automatically the keyboard focus on this widget.

Thanks
 
I was quite stupid... the focus command is all right for this.





Since I am using an exotic Tk binding (Caml/Tk) wich is poorly documented, I didn't manage to use focus.





Now, it's ok :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top