YGP has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have perlTk window with a list box and it had a feature to select the entries in the list box using key stroke entry. Problem here is every time the windoe opens it need to select the window and use my keyboard to select it. How to make the window active, so that I can select entries with out cliking the main window by mouse. Thanks!

Replies are listed 'Best First'.
Re: Main window Active
by BrowserUk (Patriarch) on Jul 24, 2008 at 05:10 UTC
      Thanks Budy. It worked.
Re: Main window Active
by Anonymous Monk on Jul 24, 2008 at 05:02 UTC
    perldoc Tk::focus