vb.net - Set AutoScrollPosition of horizontal scrollbar on tabpage -
i have tabcontrol has tabpage i've added autoscroll via properties window. when scrollbars appear, horizontal scrollbar automatically scrolled way right. exact opposite of need, when horizontal scrollbar appears, need automically scrolled way left. how do this? i've been tinkering autoscrollposition, doesn't seem anything...most user error on part. advice? haven't been able find on net that's been helpful.
i'm using vb.net
thanks!
autoscroll position relative current position you'll need find current position , take away.
tabpage1.autoscrollposition = new point(-tabpage1.autoscrollposition.x, 0)
Comments
Post a Comment