Jump to content

2 GUI Windows, different GUI Close event

Recommended Posts

i have a script ... when u run the script it creates TWO Gui's and hides one of them .... when u press a button on the visible one it "un-hides" the hidden window so now you have 2 GUI windows ... when i click the cross in the corner of the windows .ie. $GUI_EVENT_CLOSE .. it closes the script

What i want is if u click the "x" in the visible GUI it will close the whole script .. but if you click the x in the GUI that gets hidden on startup of the script, instead of closing the script i want it to just close its window . can it be done?


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...