|
6#
楼主 |
发表于 2006-3-28 05:02:00
|
只看该作者
多谢5楼的兄弟,问题已解决:
用边框颜色,不用边框效果,边框默认颜色:14869218
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_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Me.Image1.BorderColor <> 14869218 Then
Me.Image1.BorderColor = 14869218
End If
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 |
|