Sign in to follow this  
Followers 0
Nakuribon

hi folks need a little help please

3 posts in this topic

#1 ·  Posted (edited)

hey peeps, i'm new to this forum, and for my first post in a while, i have a question for you all: in my script, i have this code:

Case $msg[1] = $instextdlg and $msg[0] = $GUI_EVENT_CLOSE
      GUIDelete()
   Case $msg[1] = $insicondlg and $msg[0] = $GUI_EVENT_CLOSE
      GUIDelete()
   Case $msg[1] = $addimgdlg and $msg[0] = $GUI_EVENT_CLOSE
      GUIDelete()

but when i have more than one of these windows open, only one of them closes and thats the last one i opened.... like if i opened Insert Text then Add Image and then hit close on Insert Text, Add Image would close, and not Insert Text, and then when i try to hit close again, nothing happens...... if ya need the full code tell me, thanx for ur help!

~naku

Edited by Nakuribon

i own this sig... php rulezlinks:My PSP Web Portal

Share this post


Link to post
Share on other sites

hey peeps, i'm new to this forum, and for my first post in a while, i have a question for you all: in my script, i have this code:

Case $msg[1] = $instextdlg and $msg[0] = $GUI_EVENT_CLOSE
      GUIDelete()
   Case $msg[1] = $insicondlg and $msg[0] = $GUI_EVENT_CLOSE
      GUIDelete()
   Case $msg[1] = $addimgdlg and $msg[0] = $GUI_EVENT_CLOSE
      GUIDelete()

but when i have more than one of these windows open, only one of them closes and thats the last one i opened.... like if i opened Insert Text then Add Image and then hit close on Insert Text, Add Image would close, and not Insert Text, and then when i try to hit close again, nothing happens...... if ya need the full code tell me, thanx for ur help!

~naku

GUIDelete() closes the currently active window - by default the active window is the last window created. Use GuiSwitch() to select a different window manually before doing the GuiDelete().

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