# On Enter Select

**URL:** <https://forum.servoy.com/t/on-enter-select/5724>\
**Category:** Classic Servoy\
**Created:** [April 10, 2006, 9:55am UTC](https://forum.servoy.com/t/on-enter-select/5724 "2006-04-10T09:55:54Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [September 6, 2007, 9:43am UTC](https://forum.servoy.com/t/on-enter-select/5724/21 "2007-09-06T09:43:58Z")

</div>

You can do several things:

- when you really enter out of a field the onAction event is triggered. You can attach a method to it.

- when you take the focus of a field you could attach a method to the onFocusLost event (even triggered when you don’t want it so dangerous).

- when you want a special key assigned to an action you can use the Menubar plug-in ([http://www.it2be.com/plugins.htm](http://www.it2be.com/plugins.htm)). Add a menu item to the menubar with the accelerator key of your choice and you are set to go (globally).

Hope this helps

[Previous page](https://forum.servoy.com/t/on-enter-select/5724.md?page=1)
