Enter Key & Button

R

RickM

Is there a way to enable the enter key to act as a click on a button
object. Just a simple example of a form with a Query button where the
user can hit enter instead of having to click to fire the click event.

Thanks
RickM
 
B

Brian Teutsch [MSFT]

Enter key to press a button should just work. Space Bar is another option.
Let us know if you're sure that Enter key doesn't work, and also that you
don't have any software running that might intercept enter key presses
(Control panels or such).

Brian
 
J

Josh Bertsch [MSFT]

I think what Rick is looking for is to be able to have focus in a text box
and when pressing enter, have the corresponding button be 'pushed'.

I am not sure if this is available or not, but you may be able to tweak the
XSL to accomplish this. I am certainly not the right one to ask...Brian,
suggestions??

--josh bertsch
 
B

Brian Teutsch [MSFT]

Ah, that makes more sense. No, sorry, there's no hookup to cause the enter
key to do anything when you're inside a field. The best you'll be able to do
is to set an access key in the button's control properties. Then when your
users press alt+something, the button will be pressed.

Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top