Hi all,

I have a litle Script perl Tk.

It's simple,
I press a key in my keyboard, and I can see the name key in the terminal with a 
print.

All key good, but I have a problem with the key f10.

I can see F10 in the consol, no problem.
But in windows 10, f10 open the menu.

Can you help me to solve the problem?
Thanks!
This is my script.

use Tk; 

$mw = MainWindow->new;

$mw->bind("<Key>", [ sub {
print "Touche : $_[1]\n";
 }, 
                     Ev('K')] ); 
MainLoop;

Reply via email to