hi ihr,
hab folgende GUI
Code
#include <GUIConstants.au3>
$Form1 = GUICreate("GUI", 398, 206, 500, 238)
$Group1 = GUICtrlCreateGroup("Choose", 0, 0, 193, 169)
$Radio1 = GUICtrlCreateRadio("test1", 8, 20, 180, 17)
$Radio3 = GUICtrlCreateRadio("test2", 8, 60, 180, 17)
$Radio2 = GUICtrlCreateRadio("test3", 8, 40, 180, 17)
$Radio4 = GUICtrlCreateRadio("test4", 8, 80, 180, 17)
$Radio5 = GUICtrlCreateRadio("test5", 8, 100, 180, 17)
$Radio6 = GUICtrlCreateRadio("test6", 8, 120, 180, 17)
$Radio7 = GUICtrlCreateRadio("test7", 8, 140, 180, 17)
$Date = GUICtrlCreateGroup("", -99, -99, 1, 1)
$MonthCal1 = GUICtrlCreateMonthCal("2006/11/24", 200, 0, 193, 169)
$Button1 = GUICtrlCreateButton("DO IT", 264, 176, 129, 25, 0)
$Button2 = GUICtrlCreateButton("CLOSE", 0, 176, 129, 25, 0)
Alles anzeigen
wenn ich nun auf Button2 klicke soll er 2 msgboxen ausgeben:
msgbox1: das gewählte datum
msgbox2: den zu dem RadioButton zugehörigen Text (zB.: Radio1 = "test1", Radio2 = "test2", Radio3 = "test3", usw...)
mit einer Variablen kann ichs ja, aber ich scheitere daran das ganze so zu machen, daß er beim Klick beide GUI Werte in eine var speichert.
Kann mir jemand die Schleife zeigen?
mfg Van :weinen: