美文网首页
C# RichTextBox selection problem

C# RichTextBox selection problem

作者: 神乐g | 来源:发表于2018-12-09 18:08 被阅读0次

    Maybe things have changed since this question was answered, but I have an even simpler solution:

    Just add richTextBox1.AutoWordSelection = false; to the code.

    Sounds crazy, but setting this to false in the properties-box does not work. You have to do it in the code, even if the property is already false. Then it works!

    相关文章

      网友评论

          本文标题:C# RichTextBox selection problem

          本文链接:https://www.haomeiwen.com/subject/nhqthqtx.html