Exit For
For x = ListBoxGames.Items.Count - 1 To 0 step -1
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionIf CheckBoxIgnoreSteamGames.CheckState = CheckState.Checked Then Dim x As Integer For x = ListBoxGames.Items.Count - 1 To 0 MsgBox(x) If InStr(ListBoxGames.Items(x), "(Steam)") > 0 Then ListBoxGames.Items.RemoveAt(x) End If If x = 0 Then End If Next End If