Hallo @all,
ich habe ein Problem mit folgendem Skript:
Spoiler anzeigen
#include <GUIConstantsEx.au3>
[/autoit] [autoit][/autoit] [autoit]Example()
;==== Dialog: =======================================
Func Example()
;---- Optionen -------------------------------------
GUICreate(" Error-Reporting")
GUICtrlCreateLabel("Bitte wählen sie die Gruppe aus, in die ihr Problem am besten passt.", 7, 4)
GUICtrlCreateGroup("Fehler", 7, 25, 120, 60)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUICtrlCreateGroup("Anderes Problem", 130, 25, 130, 85)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Weiter = GUICtrlCreateButton("Angaben speichern.", 100, 370)
$Abbrechen = GUICtrlCreateButton("Abbrechen.", 210, 370)
GUIStartGroup()
$radio_FM = GUICtrlCreateRadio("Fehlermeldung", 10, 40)
$radio_FA = GUICtrlCreateRadio("Abstürtze", 10, 60)
$radio_KM = GUICtrlCreateRadio("Komische Meldung", 140, 40)
$radio_KV = GUICtrlCreateRadio("Seltsames Verhalten", 140, 60)
$radio_KF = GUICtrlCreateRadio("Frage", 140, 80)
GUISetState()
Do
$msg = GUIGetMsg()
Select
Case $msg = $radio_FM
$T = 1
Case $msg = $radio_FA
$T = 2
Case $msg = $radio_KM
$T = 3
Case $msg = $radio_KV
$T = 4
Case $msg = $radio_KF
$T = 5
Case $msg = $Abbrechen
Exit
Case $msg = $Weiter
GUIDelete()
Case $msg = $Abbrechen
MsgBox(0, "You clicked on", "Exit")
Exit
Case $msg = $GUI_EVENT_CLOSE
MsgBox(0, "You clicked on", "Close")
Exit
EndSelect
Until $msg = $GUI_EVENT_CLOSE Or $msg = $Abbrechen
EndFunc
MsgBox(0, "TEST", "$t =" & $T)
Das Problem:
Nachdem mann auf Speichern gedrückt hat steht die ganze Zeit beim AutoIt-Icon: Line 32.
Und es geht einfach nicht weiter.
Anmerkung:
DerSkript soll eine andere Funktion haben, die noch nicht eingebaut ist. Ich teste immer nach jedem einzelnen Schritt ob alles klappt. Und dieses Problem kriege ich einfach nicht gelöst.