Advertisement

01.07.2008 at 09:35PM PST, ID: 23065718
[x]
Attachment Details

In C#.NET multiline textbox, on enter key press, how to stop line change?

Asked by ddipro in Microsoft Visual C#.Net, C# Programming Language, .Net Editors & IDEs

Tags: C#.NET, 2.0

Hi,
In my window application, when I press enter key in multiline textbox, then I want to make clear the textbox value as well as cursor in first line with this property:
wordWrap==true;
But now when I press the enter key, the cursor gets the position in next line. I want the application just like yahoo chat textbox enter key event.

Start Free Trial
[+][-]01.07.2008 at 09:46PM PST, ID: 20606249

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, C# Programming Language, .Net Editors & IDEs
Tags: C#.NET, 2.0
Sign Up Now!
Solution Provided By: jaime_olivares
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628