We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Carriage Return NewLine

Thread ID:

Created:

Updated:

Platform:

Replies:

37542 Nov 24,2005 04:51 AM Dec 2,2005 11:34 AM Windows Forms 4
loading
Tags: EditControl
Arjan Griffioen
Asked On November 24, 2005 04:51 AM

Hi, Does the EditControl has a property to use CRNL characters for representing a newline instead of only NL. The reason for this question is: In our software we recently replaced a basic winforms TextBox by an EditControl and now some features of our software are not longer working, because of the fact that newlines are only represented with the NL character in the EditControl Regards, Arjan Griffioen (To-Increase)

Administrator [Syncfusion]
Replied On November 28, 2005 03:09 PM

Hi Arjan, Thanks for your feedback in this regard. We have considered adding a NewLineStyle property to the EditControl and have logged a feature request# 581 on this : Feature Request #581 - Support for NewLineStyle property in the EditControl The NewLineStyle can accept values from the NewLineStyle enumerator which has values like Windows, Mac, Unix and Control which correspond to new line styles "\r\n", "\r", "\n\r" and "\n" respectively. Please let me know if this meets your requirements. Regards, Guru Patwal Syncfusion, Inc.

Arjan Griffioen
Replied On November 30, 2005 05:29 AM

Hi Guru, The NewLineStyle property as you described it will be great. Do you have any idea in which version that will be included? Regards, Arjan Griffioen (To-Increase)

Administrator [Syncfusion]
Replied On November 30, 2005 09:01 AM

Hi Arjan, Thanks for the update. We will try our very best to incorporate this feature in v4.1 final release due shortly. We appreciate your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Administrator [Syncfusion]
Replied On December 2, 2005 11:34 AM

Hi Arjan, Feature 581 has been fully implemented and will be incorporated in v4.1 release due shortly. There is a slight variation in its implementation. Instead of adding a new property NewLineStyle, we have added a property - DefaultNewLineStyle and 2 methods - GetNewLineStyle and SetNewLineStyle. DefaultNewLineStyle property can be used to set the default new-line style (used on file creation), GetNewLineStyle method can be used to get current newline style and SetNewLineStyle method can be used to change current new-line style. Please refer to the code snippet below for more information. this.editControl1.DefaultNewLineStyle = NewLineStyle.Control; NewLineStyle nlStyle = this.editControl1.GetNewLineStyle(); this.editControl1.SetNewLineStyle(NewLineStyle.Mac); We appreciate your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;