Tell me more ×  I am creating a TextBox dynamically and adding
that in a TabPage which is itself also dynamically created.  But
the problem is, the TextBox is not showing text formatting
correcly.  For example: \t and \n are not reflected at all.  I
have already set property Multiline to True. But again no
improvement.  What to check for?  share|improve this question
could you provide a sample of what you are trying to do? – 
Matthew Whited Oct 15 '09 at 15:39 add comment  1 Answer  up
vote 4 down vote accepted  When you dynamically create the
TextBox, make sure you set its MultiLine property to true (the
default is false). And if you want multiline text, you have to
use \r\n - just \n won't do it. \t puts a Tab in correctly -
maybe you're looking for something else?  share|improve this
answer Yes it is set. But formatting not working. –  BROY Oct 15
'09 at 14:39 add comment  Your Answer