VB6.0里鼠标箭头仅在按钮上划过时显悬停效果图怎么作?
是这样吗PrivateSubImage4_MouseMove(ButtonAsInteger,ShiftAsInteger,XAsSingle,YAsSingle)Ifx...
是这样吗
Private Sub Image4_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If x < image4.Width And x > 0 Then
image4.Picture = image2.Picture
Else
image4.Picture = image1.Picture
End If
End Sub
Private Sub Image4_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image4.Picture = Image3.Picture
End Sub
Private Sub Image4_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image4.Picture = Image1.Picture
End Sub
Private Sub Image4_Click()
MsgBox "Image"
End Sub
为什么我鼠标悬停时不点击 移开image4后还显示着image2.picture??? 展开
Private Sub Image4_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If x < image4.Width And x > 0 Then
image4.Picture = image2.Picture
Else
image4.Picture = image1.Picture
End If
End Sub
Private Sub Image4_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image4.Picture = Image3.Picture
End Sub
Private Sub Image4_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image4.Picture = Image1.Picture
End Sub
Private Sub Image4_Click()
MsgBox "Image"
End Sub
为什么我鼠标悬停时不点击 移开image4后还显示着image2.picture??? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询