LabiVila Posted September 9, 2012 Posted September 9, 2012 Hi everyone. Well, while I was creating my first script, I made at last 60% and now I am trying to make a CLOSE Button. I've already created the BUTTON that says: CLOSE but can not manage it. I want to make it when I click on it, to dissapear everything. Can you guys help me please? Thanks, LabiVila
Jaysds1 Posted September 9, 2012 Posted September 9, 2012 (edited) use: guiSetVisible(theWindow,false) this if you're planning to make the window visible again or use: destroyElement(theWindow) to destroy the window Edited September 9, 2012 by Guest
Anderl Posted September 9, 2012 Posted September 9, 2012 use: guiSetVisible(theWindow) this if you're planning to make the window visible again or use: destroyElement(theWindow) to destroy the window That's wrong. You forgot second parameter in guiSetVisible.
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