Re: Keybord focus on Entry (which is on a DialogBox)
"John" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <000d01c4d70f$2d42a480$747882c3@jonsof> |
Thank you very much
----- Original Message -----
From: Michael van Nieuwenhuize
To: John ; Perl/Tk
Sent: Tuesday, November 30, 2004 8:59 PM
Subject: Re: Keybord focus on Entry (which is on a DialogBox)
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.