Focus for about-window

Q&A's, tips, howto's

Focus for about-window

Postby HPW » Mon Oct 27, 2003 9:07 pm

The AboutBox should get the focus, so that hitting the ESC-key
trigger the <Escape> event. Just add the line like this example.

Code: Select all
   bind .about <Escape> "destroy .about"
   focus .about
Posts: 1375
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany

Postby Lutz » Mon Oct 27, 2003 9:20 pm

thanks Hans-Peter, I will add this

Posts: 5276
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California

Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 2 guests