New line in .NET
Messages   Related Types
This message was discovered on microsoft.public.dotnet.languages.vc.

Post a new message to this list...

Ioannis Vranos
What is the new line character for a TextBox/System::String/Clipboard?
'\n' seems to copy to ClipBoard a square symbol.

Best regards,

Ioannis Vranos
Reply to this message...
 
    
Ben Schwehn
Ioannis Vranos wrote:
[Original message clipped]

probably \r\n

there is also a constant like Enviroment.NewLine. Don't have the docs
available right now and too lazy to google...

hth
Reply to this message...
 
    
Ioannis Vranos
Ben Schwehn wrote:
[Original message clipped]

Yes I checked it and "\r\n" seems to work. Thanks for the tip.

Best regards,

Ioannis Vranos
Reply to this message...
 
 
System.Web.UI.MobileControls.TextBox
System.Web.UI.WebControls.TextBox
System.Windows.Forms.TextBox




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com