<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">&gt; i dont want to change alt+f4 for every application on the computer permanently...<br>&gt; i just want to change it a particular area<br>&gt; do we have any options for this<br><br>In that case all you need to do is to bind the key to the same action as the <br>Enter key. Enter usually is a default action so you will likely have to work <br>out what that ,means in your context but it should not be too hard.<br><br>An alternative might be to write a handler that posts a message onto the Tk <br>event queue that looks like it comes from the Enter key, this would then get <br>picked up by the mainloop and processed as if Enter had been
 pressed. <br>I think Tk does have a way to do this but I can't remember how and <br>don't have time to research it just now.<br><br>HTH,<br><br>Alan G<br>
</div><br></div></div></body></html>