Jump to content
Sign in to follow this  
supadodger

get the close button to work on my gui?

Recommended Posts

supadodger

the X to close the program doesnt work and im betting its just a simple line i am missing.

Share this post


Link to post
Share on other sites
AdmiralAlkex

See "GUI Reference" in helpfile, there they explains both "MessageLoop Mode" and "OnEvent Mode". What you need is to Exit when you receive $GUI_EVENT_CLOSE.

Edited by AdmiralAlkex

Share this post


Link to post
Share on other sites
supadodger

See "GUI Reference" in helpfile, there they explains both "MessageLoop Mode" and "OnEvent Mode". What you need is to Exit when you receive $GUI_EVENT_CLOSE.

perfect answer.

you gave me enough for me to figure it out without doing it for me.

Share this post


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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.