【发布时间】:2017-10-29 14:54:57
【问题描述】:
我想知道如何向下滚动包含TabControl 的Panel
在 VB.NET 中使用按钮而不显示滚动条。我尝试了以下
Dim Location As Integer = Panel_Images.Location.Y
If Location + 20 < Panel_Images.VerticalScroll.Maximum Then
Location += 20
Panel_Images.VerticalScroll.Value = Location
Else
'If scroll position is above 280 set the position to 280 (MAX)
Location = Panel_Images.VerticalScroll.Maximum
Panel_Images.AutoScrollPosition = New Point(0, Location)
End If
它只滚动一次,不再起作用。
【问题讨论】:
标签: vb.net scrollbar panel tabcontrol