Abend epvp,
ich hab 2 GuiCreate Forms. $Form1 auf @SW_SHOW und $Form2 auf HIDE.
Damit $Form1 sich schließst und $Form2 sich öffnet wenn ich einen Button in $Form1 drücke, hab ichs so:
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
GUISetState(@SW_HIDE, $Form1)
GUISetState(@SW_SHOW, $Form2)
EndSwitch
WEnd
Ich brauche aber bei $Form2 noch eine andere While Schleife.
Wenn ich diese jedoch ans Ende von und $Form2 hänge, will die andere While Schleife nichtmehr. Wie kann ich das am besten lösen?
Danke schonmal!
ich hab 2 GuiCreate Forms. $Form1 auf @SW_SHOW und $Form2 auf HIDE.
Damit $Form1 sich schließst und $Form2 sich öffnet wenn ich einen Button in $Form1 drücke, hab ichs so:
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
GUISetState(@SW_HIDE, $Form1)
GUISetState(@SW_SHOW, $Form2)
EndSwitch
WEnd
Ich brauche aber bei $Form2 noch eine andere While Schleife.
Wenn ich diese jedoch ans Ende von und $Form2 hänge, will die andere While Schleife nichtmehr. Wie kann ich das am besten lösen?
Danke schonmal!