This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
There are two things you can do that I can think of. First is to setFocus on the button that you want to be the default, if you want to give it focus. Or if you are saying you want a certain button to respond with the enter key, like a default button, then you would need to capture the enter key and activate any function the button would have on the enter key. What are you trying to do, have a form with two buttons like a reset and submit, but you want the submit button to be the default and not the reset? I haven't looked too much into this, so there are probably better solutions that I have shown here. I'll try to look up some more when I get a chance. Bill
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com