Hi hab es gerade getestet aber es funktioniert nicht.
dachte an sowas.
Bild:
C
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Button frei wählbare Funktion", 366, 214, 192, 124)
$Button1 = GUICtrlCreateButton("1 ?", 24, 88, 75, 25, 0)
GUICtrlSetFont(-1, 12, 400, 0, "Arial")
$Button2 = GUICtrlCreateButton("2 ?", 24, 120, 75, 25, 0)
GUICtrlSetFont(-1, 12, 400, 0, "Arial")
$Button3 = GUICtrlCreateButton("3 ?", 24, 152, 75, 25, 0)
GUICtrlSetFont(-1, 12, 400, 0, "Arial")
$Button = GUICtrlCreateLabel("Button", 20, 20, 48, 22)
GUICtrlSetFont(-1, 12, 400, 0, "Arial")
$anzahl = GUICtrlCreateCombo("anzahl", 76, 16, 77, 25)
GUICtrlSetFont(-1, 12, 400, 0, "Arial")
GUICtrlSetState(-1, $GUI_DISABLE)
$Butto = GUICtrlCreateRadio("Button Resten", 168, 20, 113, 17)
GUICtrlSetFont(-1, 12, 400, 0, "Arial")
$Radio1 = GUICtrlCreateRadio("Button neue Funktion", 168, 44, 161, 17)
GUICtrlSetFont(-1, 12, 400, 0, "Arial")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Alles anzeigen