Excuse me sir, Are you saved? (선생님, 구원받으셨습니까?)

If you died tonight, Are you going to heaven? (당신이 만약 오늘 밤 죽는다면, 천국에 갈 수 있습니까?)

For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life. (하나님이 세상을 이처럼 사랑하사 독생자를 주셨으니 이는 그를 믿는 자마다 멸망하지 않고 영생을 얻게 하려 하심이라)

-John 3:16 (요한복음 3장 16절)

분류 전체보기 (178)
Embeded (3)
.NET (13)
DB (6)
Javascript (0)
Visual Studio (0)
Project (7)
Experience (0)
General (13)
Car (0)
Story (12)
YBC (4)
Book (6)
Movie (1)
구 MiniHomepy (109)
Visitors up to today!
Today hit, Yesterday hit
daisy rss
'textbox scroll'에 해당되는 글 1건
2016. 3. 7. 10:06


텍스트박스의 내용이 채워진 후 스크롤이 당연히 채워진 내용 만큼 내려가 있어서 마지막 내용이 보이게 되는데

맨 앞으로 스크롤을 돌리고 싶을 때는 다음과 같이 하면 된다. 


 txtRawData.SelectionStart = 0;

 txtRawData.ScrollToCaret();



응용해서 마지막으로 스크롤을 이동하려면 


txtRawData.SelectionStart = txtRawData.TextLength;

txtRawData.ScrollToCaret();

           


그럼 조그마한 도움이 되었길 바라며 



prev"" #1 next