Private Sub Detail_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim Ctrl As Control
For Each Ctrl In Me.Controls
If TypeOf Ctrl Is Image And Left(Ctrl.Name, 5) = "Image" Then
If Ctrl.BorderColor <> 14869218 Then
Ctrl.BorderColor = 14869218
End If
End If
Next Ctrl
End Sub
Private Sub Image1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Me.Image1.BorderColor <> 16711680 Then
Me.Image1.BorderColor = 16711680
End If
End Sub
当鼠标在窗体的LABEL上移动时,LABEL与IMAGE都不停地闪动,在IMAGE上移动时没问题,这个问题能否解决?