# selectOnEnter

**URL:** <https://forum.servoy.com/t/selectonenter/334>\
**Category:** Classic Servoy\
**Created:** [September 17, 2003, 1:10pm UTC](https://forum.servoy.com/t/selectonenter/334 "2003-09-17T13:10:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![WiderGates](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@WiderGates](https://forum.servoy.com/u/WiderGates)\
**Post date:** [September 17, 2003, 1:10pm UTC](https://forum.servoy.com/t/selectonenter/334/1 "2003-09-17T13:10:09Z")

</div>

Where is this field property? When I click in designer on a field I canM-4t find it in the properties window. All other properties are there.  
Win2000, Servoy R2 1.2rc2 build 257.

Dieter

---

<div class="post-metadata">

**Author:** ![maarten](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@maarten](https://forum.servoy.com/u/maarten)\
**Post date:** [September 17, 2003, 7:08pm UTC](https://forum.servoy.com/t/selectonenter/334/2 "2003-09-17T19:08:51Z")

</div>

is changed into “onFocusGained”.

---

<div class="post-metadata">

**Author:** ![WiderGates](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@WiderGates](https://forum.servoy.com/u/WiderGates)\
**Post date:** [September 17, 2003, 10:07pm UTC](https://forum.servoy.com/t/selectonenter/334/3 "2003-09-17T22:07:55Z")

</div>

selectOnEnter: If the checkbox is checked the contents of the field are  
automatically selected when clicking or tabbing into the field.

onFocusGained has no checkbox. You have to create a method now. But whatM-4s the function to select the contents of a field?

sorry  
Dieter

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [September 19, 2003, 8:31am UTC](https://forum.servoy.com/t/selectonenter/334/4 "2003-09-19T08:31:18Z")

</div>

That property is hidden for the moment, because it didn’t work quite right, it will be back when that is fixed.
