I have a dynamically-created panel with a horizontal scrollbar which is created by placing controls outside of the panel. I want to set the scrollbar but it won't budge.
Any ideas?Code:Me.Controls.Add(ReportPanel) ReportPanel.AutoScrollPosition = New Point(100, 0) ReportPanel.Visible = True
I've tried rearranging these statements. I've been banging my head into a wall about this. For what it's worth the following
does cause the scrollbar to move but the controls shift with it.Code:ReportPanel.HorizontalScroll.Value = 100




Reply With Quote