RichTextBox target

2 messages Options
Embed this post
Permalink
nlog_fanboy

RichTextBox target

Reply Threaded More More options
Print post
Permalink
Hi,

is it safe to use the  RichTextBox target? If new text is always appended without clearing its contents, the main memory is going to explode sooner or later...

The RichTextBox target unfortunately doesn't scroll up when new text is added. You have to add

 rtbx.Focus();
 rtbx.SelectionStart = rtbx.Text.Length;
 rtbx.ScrollToCaret();      


at the end of the method RichTextBoxTarget.SendTheMessageToRichTextBox



nlog_fanboy

Re: RichTextBox target

Reply Threaded More More options
Print post
Permalink
jk?