Click here to Skip to main content
15,908,775 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm writing a chat program and when the text gets to the bottom of the window, the scroll bar comes up but it doesn't stay with the text. The text goes down but the window stays at the top . How do I fix this?? I'm using a multiline text box for lack of something better to use. please help me

thanks in advance
Posted

1 solution

Try using the TextBox.ScrollToCaret[^] method
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900