当鼠标悬停在按钮上时更改图像
答
你应该实现你的按钮的mouseMove事件。
Private Sub YourButtonName_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
'your Code Here
End Sub
但要小心这就是所谓的每次移动鼠标按钮的时间。所以你应该检查你是否绘制图像。
嗨巴斯洛,谢谢你我添加image1.picture = loadpicture(picpath) – Tramyer