boton
Publicado por ALONSITO (4 intervenciones) el 15/09/2009 05:18:25
HOLA DE NUEVO TRATE DE MEHORAR MI BOTON ME DEMORE PORQ ES UN LIO ME CONFUNDO BASTANTE PERO ALFINAL AVANCE UN POQO
KIERO Q AL MOMENTO DE DARLE CLICK MI BOTON SE QUEDE ESTATIQO NO PUEDO LLEVO MAS D UNA HORA INTENTANDOLO UNA AYUDITA PORFAs....
Option Explicit
Dim Flag As Boolean
Private Sub Image1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Flag Then
Image1.Visible = False
Image2.Visible = True
Flag = False
End If
End Sub
Private Sub Image2_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image2.Visible = True
Image3.Visible = False
End Sub
Private Sub Image2_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image2.Visible = False
Image3.Visible = True
End Sub
Private Sub Image3_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image3.Visible = True
Image2.Visible = False
End Sub
Private Sub Image3_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image3.Visible = False
Image2.Visible = True
End Sub
Private Sub UserControl_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Flag = False Then
Image1.Visible = True
Image2.Visible = False
Flag = True
End If
End Sub
KIERO Q AL MOMENTO DE DARLE CLICK MI BOTON SE QUEDE ESTATIQO NO PUEDO LLEVO MAS D UNA HORA INTENTANDOLO UNA AYUDITA PORFAs....
Option Explicit
Dim Flag As Boolean
Private Sub Image1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Flag Then
Image1.Visible = False
Image2.Visible = True
Flag = False
End If
End Sub
Private Sub Image2_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image2.Visible = True
Image3.Visible = False
End Sub
Private Sub Image2_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image2.Visible = False
Image3.Visible = True
End Sub
Private Sub Image3_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image3.Visible = True
Image2.Visible = False
End Sub
Private Sub Image3_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image3.Visible = False
Image2.Visible = True
End Sub
Private Sub UserControl_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Flag = False Then
Image1.Visible = True
Image2.Visible = False
Flag = True
End If
End Sub
Valora esta pregunta


0