Hallo zusammen,
Sorry erstmal für die vllt nicht so aussagekräftige Überschrift.
erstmal mein Script:
[autoit]#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Form1_1 = GUICreate("Form1", 310, 220, 273, 249)
$Input1 = GUICtrlCreateInput("", 24, 40, 121, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_PASSWORD))
$Label1 = GUICtrlCreateLabel("Password:", 24, 16, 67, 22)
GUICtrlSetFont(-1, 10, 800, 0, "Trebuchet MS")
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Input1
If GUICtrlRead($Input1) = "test" Then
$Group1 = GUICtrlCreateGroup("Install Printer ", 24, 72, 273, 129)
GUICtrlSetFont(-1, 9, 400, 0, "Trebuchet MS")
$Button1 = GUICtrlCreateButton("Button1", 112, 168, 75, 17)
$Label2 = GUICtrlCreateLabel("Install Generic / Text Only @ LPT1", 40, 104, 238, 22)
GUICtrlSetFont(-1, 10, 400, 0, "Trebuchet MS")
$Progress1 = GUICtrlCreateProgress(64, 136, 166, 9)
GUICtrlCreateGroup("", -99, -99, 1, 1)
Else
MsgBox(16,"","Falsches Passwort")
EndIf
EndSwitch
WEnd
Das Problem was ich habe:
Wenn ich "Test" eingebe und mit Enter bestätige erscheint die Group mit Button,Label und Progressbar.
Soweit so gut.
Ist es möglich wenn ich von "Test" nur das kleine "t" lösche das die Group usw. was vorher erschienen ist gelöscht bzw. versteckt wird?
Danke schonmal für eure Hilfe
Gruß Norman