vb中怎样将滚动条的滚动时候的值显示出来
2个回答
展开全部
Private Sub VScroll1_Change()
Label1.Caption = VScroll1.Value
End Sub
Private Sub VScroll1_Scroll()
Label1.Caption = VScroll1.Value
End Sub
你参考一下
Label1.Caption = VScroll1.Value
End Sub
Private Sub VScroll1_Scroll()
Label1.Caption = VScroll1.Value
End Sub
你参考一下
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐于2017-05-27
展开全部
Private Sub Form_Load()
HScroll1.Max = 100
VScroll1.Max = 100
Label1.Caption = ""
Label2.Caption = ""
End Sub
Private Sub HScroll1_Change()
Label1.Caption = HScroll1.Value
End Sub
Private Sub HScroll1_Scroll()
Label1.Caption = HScroll1.Value
End Sub
Private Sub VScroll1_Change()
Label2.Caption = VScroll1.Value
End Sub
Private Sub VScroll1_Scroll()
Label2.Caption = VScroll1.Value
End Sub
HScroll1.Max = 100
VScroll1.Max = 100
Label1.Caption = ""
Label2.Caption = ""
End Sub
Private Sub HScroll1_Change()
Label1.Caption = HScroll1.Value
End Sub
Private Sub HScroll1_Scroll()
Label1.Caption = HScroll1.Value
End Sub
Private Sub VScroll1_Change()
Label2.Caption = VScroll1.Value
End Sub
Private Sub VScroll1_Scroll()
Label2.Caption = VScroll1.Value
End Sub
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询