Home Forums General XMetaL Discussion XFT: Capture ENTER-Key in text box Reply To: XFT: Capture ENTER-Key in text box

Derek Read

Reply to: XFT: Capture ENTER-Key in text box

You can set one button on your form to “fire” when the user presses Enter. You do this by setting the property for “default” to “yes”.
Then the button should do whatever it is set to do (which you set with ButtonType property).

If you have more than one button with default set to “yes” then only one will “fire”. However, you can also dynamically set this value, so perhaps if the user enters a particular EditBox you could set the corresponding button to have its default property set to “yes” and any others set to “no”.

Reply

Products
Downloads
Support