Private Sub Command1_Click() Dim tempoo As Integer i1 = 0 Text1.Text = 0 Bt_LancerThread_Click 'juste un timer qui incremente i1 While (Val(Text1.Text) < 450)'Text1.Text=i1 , i1 incréménté par le thread lancé DoEvents Wend Bt_TerminerThread_Click i1 = 0 Text1.Text = 0 Bt_LancerThread_Click While (Val(Text1.Text) < 450)'Text1.Text=i1 , i1 incréménté par le thread lancé DoEvents Wend Bt_TerminerThread_Click End Sub Private Sub Command2_Click() Dim tempoo As Integer i2 = 0 Text2.Text = 0 Bt_LancerThread2_Click 'juste un timer qui incremente i2 While (Val(Text2.Text) < 450)'Text2.Text=i2 , i2 incréménté par le thread lancé DoEvents Wend Bt_TerminerThread2_Click i2 = 0 Text2.Text = 0 Bt_LancerThread2_Click While (Val(Text2.Text) < 450) 'Text2.Text=i2 , i2 incréménté par le thread lancé DoEvents Wend Bt_TerminerThread2_Click End Sub
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question