S
Saber
Where can I find articles about UI?
Specially:
1) using actions like hover effects.
2) communications between a SWF file and a VB application.
I'm using this code to simulate an effect, but it is heavy:
Private Sub pb1_MouseEnter(ByVal sender As Object, ByVal e As
System.EventArgs) _
Handles pb1.MouseEnter, pb2.MouseHover, pb3.MouseHover
Dim pb As PictureBox = sender
For Each c As Control In Me.Controls
If Not c Is pb Then pb1_MouseLeave(c, e)
Next
pb.BorderStyle = BorderStyle.Fixed3D
End Sub
Private Sub pb1_MouseLeave(ByVal sender As Object, ByVal e As
System.EventArgs) _
Handles pb1.MouseLeave, pb2.MouseLeave, pb3.MouseLeave
Dim pb As PictureBox = sender
pb.BorderStyle = BorderStyle.None
End Sub
'NOTE: there are only picture boxes on the form.
Any idea to do it using it a better way?
Thanks
Specially:
1) using actions like hover effects.
2) communications between a SWF file and a VB application.
I'm using this code to simulate an effect, but it is heavy:
Private Sub pb1_MouseEnter(ByVal sender As Object, ByVal e As
System.EventArgs) _
Handles pb1.MouseEnter, pb2.MouseHover, pb3.MouseHover
Dim pb As PictureBox = sender
For Each c As Control In Me.Controls
If Not c Is pb Then pb1_MouseLeave(c, e)
Next
pb.BorderStyle = BorderStyle.Fixed3D
End Sub
Private Sub pb1_MouseLeave(ByVal sender As Object, ByVal e As
System.EventArgs) _
Handles pb1.MouseLeave, pb2.MouseLeave, pb3.MouseLeave
Dim pb As PictureBox = sender
pb.BorderStyle = BorderStyle.None
End Sub
'NOTE: there are only picture boxes on the form.
Any idea to do it using it a better way?
Thanks