Hallo Community,
ich habe mir eine GUI mit 18 Radiobuttons gebastelt. Es handelt sich hierbei um Spieltage. Es wird gefragt welcher Spieltag z.Zt läuft, dieser soll ausgegeben werden. Jetzt meine Frage: ist es möglich die Radiobuttons per Schleife abzufragen, oder muss ich wirklich abfragen:
Code
Case GUICtrlRead($Radio1) = $GUI_CHECKED
MsgBox(0,"","Es wurde der 1. Spieltag gewählt.")
Case GUICtrlRead($Radio2) = $GUI_CHECKED
MsgBox(0,"","Es wurde der 2. Spieltag gewählt.")
Case GUICtrlRead($Radio3) = $GUI_CHECKED
MsgBox(0,"","Es wurde der 3. Spieltag gewählt.")
...
...
Case GUICtrlRead($Radio18) = $GUI_CHECKED
MsgBox(0,"","Es wurde der 18 Spieltag gewählt.")
Schon einmal Danke
MfG