cs_antho2005
Messages postés150Date d'inscriptionsamedi 8 avril 2006StatutMembreDernière intervention 1 mai 20123 12 nov. 2008 à 15:15
Bon ça date mais ...
Oula ... Hum ... J'aurais pas fais comme ça ...
Je dirais plutôt comme ça:
Dim ListeFiles() As String 'Tu le rempli de la façon dont tu veux
Dim IndexActu as Integer
Private Sub Form1_Load()
IndexActu = 0
End Sub
Private Sub BoutonMarcheArret_Click()
TonTimer.Enabled = Not TonTimer.Enabled
End Sub
Private Sub TonTimer_Timer()
IndexActu = IndexActu + 1
If IndexActu > UBound(ListeFiles) Then IndexActu = 0
Dim Actu As String
Actu = File1.Path & "" & ListeFiles(IndexActu)
Form1.TaPictureBox.Picture = LoadPicture(Actu)
End Sub
Sur ce ...
À la revoyure
Antho2005
linkinpar236737
Messages postés161Date d'inscriptionjeudi 20 mars 2003StatutMembreDernière intervention 7 mai 2007 20 juil. 2003 à 16:58
EHHH ben je savais pas comment appeler deux images qui bougent dsl
cs_max12
Messages postés1491Date d'inscriptiondimanche 19 novembre 2000StatutModérateurDernière intervention 7 juillet 2014 20 juil. 2003 à 16:32
12 nov. 2008 à 15:15
Oula ... Hum ... J'aurais pas fais comme ça ...
Je dirais plutôt comme ça:
Dim ListeFiles() As String 'Tu le rempli de la façon dont tu veux
Dim IndexActu as Integer
Private Sub Form1_Load()
IndexActu = 0
End Sub
Private Sub BoutonMarcheArret_Click()
TonTimer.Enabled = Not TonTimer.Enabled
End Sub
Private Sub TonTimer_Timer()
IndexActu = IndexActu + 1
If IndexActu > UBound(ListeFiles) Then IndexActu = 0
Dim Actu As String
Actu = File1.Path & "" & ListeFiles(IndexActu)
Form1.TaPictureBox.Picture = LoadPicture(Actu)
End Sub
Sur ce ...
À la revoyure
Antho2005
20 juil. 2003 à 16:58
20 juil. 2003 à 16:32