Salut :
Private Sub command2_click()
'********************************************out1
If Index = 0 Then
Shape9(1).Visible = True
Shape10(1).Visible = False
Shape11(1).Visible = True
Shape12(1).Visible = False
Shape13(1).Visible = True
Shape14(1).Visible = False
Shape15(1).Visible = False
Shape16(1).Visible = True
'********************************************out2
ElseIf Index = 1 Then
Shape9(1).Visible = True
Shape10(1).Visible = False
Shape11(1).Visible = True
Shape12(1).Visible = False
Shape13(1).Visible = True
Shape14(1).Visible = False
Shape15(1).Visible = True
Shape16(1).Visible = False
'********************************************out3
ElseIf Index = 2 Then
Shape9(1).Visible = True
Shape10(1).Visible = False
Shape11(1).Visible = True
Shape12(1).Visible = False
Shape13(1).Visible = True
Shape14(1).Visible = False
Shape15(1).Visible = True
Shape16(1).Visible = False
'********************************************out4
ElseIf Index = 3 Then
Shape9(1).Visible = True
Shape10(1).Visible = False
Shape11(1).Visible = True
Shape12(1).Visible = False
Shape13(1).Visible = True
Shape14(1).Visible = False
Shape15(1).Visible = True
Shape16(1).Visible = False
'********************************************out5
ElseIf Index = 4 Then
Shape9(1).Visible = True
Shape10(1).Visible = False
Shape11(1).Visible = True
Shape12(1).Visible = False
Shape13(1).Visible = True
Shape14(1).Visible = False
Shape15(1).Visible = True
Shape16(1).Visible = False
'********************************************out6
ElseIf Index = 5 Then
Shape9(1).Visible = False
Shape10(1).Visible = True
Shape11(1).Visible = False
Shape12(1).Visible = True
Shape13(1).Visible = False
Shape14(1).Visible = True
Shape15(1).Visible = True
Shape16(1).Visible = False
'********************************************out7
ElseIf Index = 6 Then
Shape9(1).Visible = False
Shape10(1).Visible = True
Shape11(1).Visible = False
Shape12(1).Visible = True
Shape13(1).Visible = False
Shape14(1).Visible = True
Shape15(1).Visible = True
Shape16(1).Visible = False
End If
End Sub
C vrai ce sont un groupe de controle si pour ce la j'utilise l'index de chaque controle pour pouvoir exécuter leurs instructions
Merci