Forum Discussion
TanyaYatskovska
Alumni
13 years agoHi Thundu,
Thanks for the example. Actually, this behavior is specific to the Keys method. It recognizes \r as Enter and \n as Ctrl+Enter. That's why when you type \r\n two enters will be typed. I recommend that you use the SetText method instead of Keys.
@Prakash, if you were talking about \r\n, the SetText method will help you as well.