Hi all. I am in need of programmatically performing scrolling of the scrollbars that appears on a panel. Does anyone knows how do i do so?
Thanks in advance.
Printable View
Hi all. I am in need of programmatically performing scrolling of the scrollbars that appears on a panel. Does anyone knows how do i do so?
Thanks in advance.
it's all about scrollbars these days ha?:bigyello:Quote:
Originally posted by Archaven
Hi all. I am in need of programmatically performing scrolling of the scrollbars that appears on a panel. Does anyone knows how do i do so?
Thanks in advance.
The only thing that I would know would be to call Panel.ScrollControlIntoView(). I dont know if you can actually change the scroll position as you would with a scrollbar
thanks mr. polite for your suggestion.
but ScrollIntoView is not what i am looking for. basically i am drawing in a panel. let say i have an object in the panel, for ex. a rectangle. the user selected the rectangle and drag it beyond the screen panel. so, i will need to programmatically scroll the panel and redraw the position of the rectangle.
hope you can provide me with some idea. thanks