View Single Post
  #3  
Old 07-27-2012, 03:03 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by fowlplay4 View Post
It's show() not open, and you can use an event to get what you selected.

All GUI objects have these functions on this page: http://wiki.graal.net/index.php/Crea...ent/GuiControl
To expand on this, the reason it's not working is because when the window is closed, visible becomes false. When you show the window the next time by using new GuiWindowCtrl, it reuses the same window object. Since visible is still false, it doesn't show.

Normally I just set visible = true when creating a new window.
__________________
Reply With Quote