Focus for about-window

Q&A's, tips, howto's
Post Reply
HPW
Posts: 1377
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Focus for about-window

Post by HPW »

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
Hans-Peter

Lutz
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

thanks Hans-Peter, I will add this

Lutz

Post Reply