Do you make "Enter" go to the next line when you have a multi-line textbox rather than hit the OK button?

Updated by Brady Stroud [SSW] 1 year ago. See history

123

If you have a multi-line textbox in a form, you should make the "Enter" key go to the next line in the text box, rather than cause it to hit the OK button.

Image

❌ Figure: Bad example - "Enter" button causes OK button to be pressed instead of going to next line in the multi-line text box

Image

✅ Figure: Good example - "Enter" button goes to the next line in the text box

It can be done by assigning "True" value to AcceptsReturn and Multiline options in properties bar.

Image

Figure: Developer Notes properties details

acknowledgements
related rules