kazuoscripter Posted June 15, 2022 Posted June 15, 2022 While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE SaveSettings() GUIDelete() Exit Case $Button2 SaveSettings() GUIDelete($GUI) status() checkstatus() EndSwitch WEnd This is my GUI script, when i click $Button2 to delete GUI1 and open GUI2, its starting checkstatus(), when its running i cannot close by click X button on top right GUI2 (status()) Thank you!!
Zedna Posted June 15, 2022 Posted June 15, 2022 Look here https://www.autoitscript.com/wiki/Managing_Multiple_GUIs Resources UDF ResourcesEx UDF AutoIt Forum Search
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now