jonam has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; use Tk; my $mw=new MainWindow; $mw->withdraw(); $mw->messageBox(-icon => 'info', -message =>"Hai", -title => "Testing" +, -type => 'ok');
The above code shows the message box. My question is as follows
If I press the "enter" button(which is near to alphabets and symbols) it consider the input as ok and the message box got closed.
But when I press the "enter" button(which is near to the numlock(Keypad)) it is not considered as "ok" and the message box window remains on the screen.
Now what should I do to make it work?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: TK:Message box
by zentara (Cardinal) on Apr 06, 2009 at 11:59 UTC | |
|
Re: TK:Message box
by jethro (Monsignor) on Apr 06, 2009 at 12:08 UTC |