Lanc1988 Posted March 28, 2005 Posted March 28, 2005 I have code that adds text to my rich textbox but I want it to also add a new line after each thing it adds so it would look like: Attack - 50 Strength - 50 Defense - 50 Hits - 50 For example, my code is like textbox.Text = "Attack - 50" & NEWLINE CODE then the next code is textbox.Text = textbox.Text & "Strength - 50" & NEWLINE CODE etc. Quote
*Experts* mutant Posted March 28, 2005 *Experts* Posted March 28, 2005 System.Environment.NewLine Read up on this :). Quote
Lanc1988 Posted March 28, 2005 Author Posted March 28, 2005 thanks, i should have known that since i use it in my message boxes, didn't think it would work also in a textbox :S Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.