How to bind 'Back Space' event 
Author Message
 How to bind 'Back Space' event

Hi!
  I don't know how to bind 'backspace' key event. The dollowing
statement does't work.
#     $mw = MainWindow
     $mw->bind('<KeyRelease-backspace>' => \&callback);

  Please Reply if you have any solutions.

Regards,
Kaladhaur P



Mon, 31 Oct 2005 15:14:40 GMT  
 How to bind 'Back Space' event

Quote:
>  I don't know how to bind 'backspace' key event. The dollowing
>statement does't work.
>#     $mw = MainWindow
>     $mw->bind('<KeyRelease-backspace>' => \&callback);

Try 'BackSpace' (with uppercase B and S).
If you are using X11, you can use the command xev to get
the correct key names.

Christoph



Mon, 31 Oct 2005 20:09:59 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Can't load 'C:/perl/site/lib/auto/Tk/Event/Event.dll' for module Tk::Event:

2. Redirection but no 'Back'

3. How to create a 'BACK'-Button

4. Perl Tk 'bind' problem

5. Can't load 'C:/Perl/site/lib/auto/Tk/Event/Event.dll'

6. How to detect 'Out of Space'

7. Removing unnessary spaces 'blanks'

8. bind event happens before 'active' index set in Listbox

9. Back to the bad ()'s question

10. Can't get size value back when using $ftp->size

11. Mysql.pm doesn't get good $dbh back from DBI _new_handle, apparently

12. Back quotes don't seem to work well in Win32

 

 
Powered by phpBB® Forum Software