Re: Keybord focus on Entry (which is on a DialogBox)
Michael van Nieuwenhuize <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <6.1.1.1.2.20041130105801.02a8a838@qcmail1> |
John, Have you tried using the focus method to force your widget to have focus. $entry_widget->focus(); See page 299 in Mastering Perl Tk for examples of focus. Regards, Mike At 10:45 AM 11/30/2004, John wrote: >I have placed an Eetry Widget on a DialogBox > >Every time i open the dialogBox the focus is on the Ok of the DialogBox >instead of Entry widget. > >How could i reverse that? i have set -takefocus=>1 in the Entry widget >with no result.