Select Text on Field Selection?

Is it possible to have Servoy select the existing field data when the cursor is placed into a field?

This is a feature of FM7/8 that I’d like to replicate.

Thanks,
Lee

While in Designer mode select the field, then check off the “selectOnEnter” property for the field. You can also do it within a method by using:

//Select all the field contents
elements.fieldpropertyname.selectAll();

When using within a method just be sure to first fill in a ‘name’ for the field under the field’s properties and substitute that name for ‘fieldpropertyname’ in the code shown above (this is required because you are referring to it as a form element).

Dean

Thanks Dean:

I looked at the properties, but somehow didn’t see that one. Guess it was just too dang obvious. I’m getting too old. ;-)

Regards,
Lee

Dean:

Another follow up.

I selected that option, but it does not seem to have any effect.

??

Thanks,
Lee

Is selectOnEnter broken in the latest 3.0 RC, at least on Macs? Like bubba, checking his property has no effect whatsoever.