일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- CNN
- mean
- dataframe
- imread
- DFS
- mariadb
- synology
- Python
- GT-S80
- pip
- pycharm
- SPL
- GitHub
- Splunk
- index
- 알고리즘
- SciPy
- Numpy
- pandas
- RNN
- Button
- LSTM
- Series
- E-P1
- 삼성소프트웨어멤버십
- Lotto
- install
- keras
- ipad
- javascript
Archives
- Today
- Total
잠토의 잠망경
C# 에서 TextBox 자동 스크롤 하기 (auto scroll) 본문
this.txtInformation.AppendText(System.Environment.NewLine);
this.txtInformation.AppendText("---------------------------------------------");
this.txtInformation.AppendText(System.Environment.NewLine);
this.txtInformation.AppendText("내용");
this.txtInformation.ScrollToCaret();
참고 : Test 했을때, this.txtInformation.Text += "내용".... 이런식으로 += 을 사용했을 경우에는 스크롤이 되지 않고 AppendText 를 사용해야만 스크롤이 됨을 확인했다.
출처: http://cafe.naver.com/ilikefox.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=680
this.txtInformation.AppendText("---------------------------------------------");
this.txtInformation.AppendText(System.Environment.NewLine);
this.txtInformation.AppendText("내용");
this.txtInformation.ScrollToCaret();
참고 : Test 했을때, this.txtInformation.Text += "내용".... 이런식으로 += 을 사용했을 경우에는 스크롤이 되지 않고 AppendText 를 사용해야만 스크롤이 됨을 확인했다.
출처: http://cafe.naver.com/ilikefox.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=680
작성자:
-----------------------------------------------------------------------------------------------
추가
if(Register[88]!=0)
{
this.richTextBox1.AppendText(Convert.ToString(Convert.ToChar(Register[88])));
this.richTextBox1.ScrollToCaret();
}
알롹퐉스(iam2010) |
-----------------------------------------------------------------------------------------------
추가
if(Register[88]!=0)
{
this.richTextBox1.AppendText(Convert.ToString(Convert.ToChar(Register[88])));
this.richTextBox1.ScrollToCaret();
}
Comments