Focus for about-window

Q&A's, tips, howto's
Locked
HPW
Posts: 1390
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: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

thanks Hans-Peter, I will add this

Lutz

Locked