J'essaye de faire une boucle qui demande un choix dans une liste box.
Code : Tout sélectionner
$Combo1 = GUICtrlCreateCombo("", 72, 56, 169, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "Choix1|Choix2|Choix3|END")
$Label1 = GUICtrlCreateLabel("Selectionnez un choix", 48, 16, 226, 24)
GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif")
GUICtrlCreateGroup("", -99, -99, 1, 1)
$ButtonValiderCreateTrajet = GUICtrlCreateButton("&OK", 73, 107, 75, 25)
$ButtonCancelCreateTrajet = GUICtrlCreateButton("&Cancel", 170, 107, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Pouvez m'aider a faire cette boucle while ou for ?
Merci