Hi Leute,
Ich hab mal ne Frage. Hoffe ihr könnt sie mir beantworten.
Wie kann ich das so machen das wenn ich auf einen button clicke die checkboxen "aktiviert"werden?
Danke im voraus. ![]()
Hi Leute,
Ich hab mal ne Frage. Hoffe ihr könnt sie mir beantworten.
Wie kann ich das so machen das wenn ich auf einen button clicke die checkboxen "aktiviert"werden?
Danke im voraus. ![]()
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 116, 60)
$Button1 = GUICtrlCreateButton("Check", 16, 32, 75, 25)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 8, 8, 97, 17)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
GUICtrlSetState($Checkbox1, $GUI_CHECKED)
EndSwitch
WEnd
Danke klappt sehr gut aber wie entselecte ich die checkboxen.
$GUI_UNCHECKED
Gut danke.