• Advertisement
Sign in to follow this  

[.net] Scrolling textboxes

This topic is 4920 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I think I'm missing something really basic here, but I'm sketching out a simple hex dump control. I plopped two textboxes and a vertical scroll bar down. The hexadecimal view can be on the left and the ASCII on the right, with the scroll bar moving both of them. I can't find any way to programmatically scroll the textboxes, however. Do I have to P/Invoke?

Share this post


Link to post
Share on other sites
Advertisement
There is no direct way to set the scrollbar position of the text box. However, you can set the cursor position and have it scroll to cursor. The only other option is to use PInvoke and scroll it yourself.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement