Guten tag, ich habe ma wieder eine frage :P.
habe noch keine große erfahrungen mit checkboxen gemacht aber wollt es einfach mal versuchen und zwar:
[autoit]#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 553, 165, 236, 264)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 352, 48, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("Checkbox2", 352, 72, 97, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Checkbox3", 352, 96, 97, 17)
$Button1 = GUICtrlCreateButton("Button1", 352, 120, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Button2", 432, 120, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Wie mache ich es das ich jeder checkbox einen befehl zuordnen kann nehmen wir jetz zb einen mausklick.
zb [X] macht mausklick bei A sobald man auf button1 Drückt
[X] [X] macht mausklick bei A und B sobald man auf button1 Drückt
[X] [ ] [X] macht Mausklick bei A und C sobald man auf button1 Drückt