avec youpi en public as boolean
Private Sub image1_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
youpi = True
While youpi
Label1.Caption = Label1.Caption + 1
DoEvents
Wend
End Sub
Private Sub image11_MouseUp(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
youpi = False
End Sub
Cordialement