Guten Tag liebe Community von AutoIt.de
Ich hatte mal ein bisschen nach meinem Problem gegooglet, aber so richtig zur lösung gekommen bin ich leider nicht ...
Dann hat google mir die Seite https://autoit.de/www.autoit.de ausgespuckt, und ich wollte mal gucken was hier so ist, und ich hoffe ihr könnt mir helfen...
Spoiler anzeigen
#include #include #include #Region ### START Koda GUI section ### Form=$Form2 = GUICreate("Form2", 413, 298, 302, 218)$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 148, 14, 97, 17)$Radio1 = GUICtrlCreateRadio("Radio1", 150, 34, 113, 17)GUICtrlSetState(-1, $GUI_DISABLE)$Radio2 = GUICtrlCreateRadio("Radio2", 150, 56, 113, 17)GUICtrlSetState(-1, $GUI_DISABLE)$Button1 = GUICtrlCreateButton("Button1", 150, 78, 75, 25, $WS_GROUP)GUICtrlSetState(-1, $GUI_DISABLE)GUISetState(@SW_SHOW)#EndRegion ### END Koda GUI section ###
While 1$nMsg = GUIGetMsg()Switch $nMsgCase $GUI_EVENT_CLOSEExit
Case $Checkbox1
EndSwitchWEnd
[/autoit]Im Spoiler ist jetzt meine GUI, und auf klick von Checkbox1, sollen die Radio's aktiviert werden...
Mit
[autoit]$GUI_ENABLE , $GUI_DISABLE
[/autoit]
habe ich schon mal etwas gemacht, aber ich weiß nicht wie er ausliest ob sie gecheckt ist, oder nicht...
Und die Radio's soll er dann auch auslesen, je nachdem welche Radio angewählt ist sollte er den Button enablen, oder wieder disablen...
Vielen dank an Oscar für die nette Hilfe