想在VB中做一个鼠标悬停效果,就是当鼠标悬停在按钮上空时,按钮的caption属性变为“悬停效果”,
想在VB中做一个鼠标悬停效果,就是当鼠标悬停在按钮上空时,按钮的caption属性变为“悬停效果”,应该怎么弄?给个源码谢谢~~~~...
想在VB中做一个鼠标悬停效果,就是当鼠标悬停在按钮上空时,按钮的caption属性变为“悬停效果”,应该怎么弄?给个源码谢谢~~~~
展开
1个回答
展开全部
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.Caption = "悬停效果"
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.Caption = "正常效果"
End Sub
Command1.Caption = "悬停效果"
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.Caption = "正常效果"
End Sub
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询