Have "Enter" key function as carriage return in memobox

G

Guest

I am trying toget the enter key to function as a carriage return in a memo
box on a form. I can get it to carriage return but then it returns to its
normal function, is there an easy way to stop the enter key from resuming
its function after the carriage return is complete.
 
R

Rick Brandt

default105 said:
I am trying toget the enter key to function as a carriage return in a
memo box on a form. I can get it to carriage return but then it
returns to its normal function, is there an easy way to stop the
enter key from resuming its function after the carriage return is
complete.

The TextBox has an "EnterKeyBehavior" property that controls this.
 
G

Guest

Boy, do I feel stupid, as soon as I read your post I remembered seeing that
in the properties field.

Thanks Rick. I do appreciate it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top