#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 389, 111, 254, 146, $GUI_SS_DEFAULT_GUI)
$Titel = GUICtrlCreateInput("", 48, 8, 121, 21)
$Text = GUICtrlCreateInput("", 48, 32, 233, 21)
$aktiv = GUICtrlCreateCheckbox("Aktivieren", 176, 8, 97, 17)
$Erstellen = GUICtrlCreateButton("Erstellen", 8, 64, 99, 41)
GUICtrlSetState(-1, $GUI_DISABLE)
$Label1 = GUICtrlCreateLabel("Text :", 8, 32, 36, 17)
$Label2 = GUICtrlCreateLabel("Titel :", 8, 8, 36, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
Exit
Case $Erstellen
_Erstellen()
EndSwitch
WEnd
func _Erstellen()
endfunc
If BitAnd(GUICtrlRead($aktiv),1) then
MsgBox(0,"23","23")
$Erstellen = GUICtrlCreateButton("Erstellen", 8, 64, 99, 41)
Endif
Hier ist mal mein Code , ich wollte ein Programm programmieren was ein Programm erstellt das eine Msgboxmacht mit dem Text/Titel der Input-Box
Nur leider hab ich 2 Probleme , die If Funktion mit der Checkbox funktioniert nicht , und ich hab keine Ahnung wie ich so einen "Programm-ersteller" programmiere