//让文本框获取焦点 
this.richTextBoxInfo.Focus(); 
//设置光标的位置到文本尾 
this.richTextBoxInfo.Select(this.richTextBoxInfo.TextLength,0); 
//滚动到控件光标处 
this.richTextBoxInfo.ScrollToCaret();

相关文章:

  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2021-12-09
猜你喜欢
  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
相关资源
相似解决方案