Hallo habe ein paar probleme mit Autoit und zwar wie kann ich es einstellen das es bei der Checkbox Ja und dann bei dem Bottum weiter geht und bei Checkbox nein und dann Bottum abschaltet
kleines beispiel:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Bot = GUICreate("----", 262, 159, 536, 251)
$Label1 = GUICtrlCreateLabel("-------", 80, 12, 112, 17)
$Label2 = GUICtrlCreateLabel("-------", 80, 40, 114, 17)
$Checkbox1 = GUICtrlCreateCheckbox("Ja", 82, 60, 73, 25)
$Checkbox2 = GUICtrlCreateCheckbox("Nein", 156, 60, 65, 25)
$Button1 = GUICtrlCreateButton("Weiter", 88, 88, 89, 41, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Könnt ihr mir bitte helfen ?
Aber bitte keine Links :)
Danke im vorraus
MfG
kleines beispiel:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Bot = GUICreate("----", 262, 159, 536, 251)
$Label1 = GUICtrlCreateLabel("-------", 80, 12, 112, 17)
$Label2 = GUICtrlCreateLabel("-------", 80, 40, 114, 17)
$Checkbox1 = GUICtrlCreateCheckbox("Ja", 82, 60, 73, 25)
$Checkbox2 = GUICtrlCreateCheckbox("Nein", 156, 60, 65, 25)
$Button1 = GUICtrlCreateButton("Weiter", 88, 88, 89, 41, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Könnt ihr mir bitte helfen ?
Aber bitte keine Links :)
Danke im vorraus
MfG