↧
Offset problem in RichTextBox
As a last resort could you not set the non-public member using reflection?
View ArticleOffset problem in RichTextBox
Okay. I've solved my own problem in an ugly way. myRtb.BeginChange();myRtb.CaretPosition = myRtb.Document.ContentStart;for (int n=0; n<nOffset; n++){ TextPointer moveTo =...
View ArticleOffset problem in RichTextBox
Using simple text of the form: Abs(a), I tried to set the offset to 4 using: int nOffset = 4;TestPointer tp = myRtb.Document.ContentStart.GetPositionAtOffset(nOffset,...
View Article