Sign in to follow this  
Followers 0
supadodger

get the close button to work on my gui?

4 posts in this topic

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



#2 ·  Posted (edited)

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

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  
Followers 0