How do you link custom scrollbars to a scrollBox?
There doesn't seem to be any properties in the scrollBox that can be updated by the new scrollBar position i.e. where do you pass the scrollbar position value to make the scroll box move?
Sub ScrollBar2Scroll(Sender, ScrollCode, ByRef ScrollPos)
ScrollBox1.OriginX = ScrollPos End Sub
I've tried the OriginX and OriginY properties of the scrollBox, but they don't seem to do anything despite being listed as "Determines the position of the vertical scroll bar".
Currently I've got a split panel with a scrollbox one side and a datagrid the other. The data grid is working, but I can't get the scrollBox to scroll.
Many thanks, |