Page 1 of 1

help with close window

Posted: Fri May 20, 2005 4:57 am
by kane
I have program main menu you click register opens new window... but when I click back the old window the register window we just at is in background missing all buttons and images and crap it never closed.. maybe theres another way..

Code: Select all

          Case #Button_2 ; register page from main page...
            Open_Window_2()

;now im done with reg page lets go back main page and close reg page...

          Case #Button_6 ; back to home..
            Open_Window_1()
            CloseWindow(2)
the closewindow part in there or not makes no diffrent reg page never closes..

Posted: Fri May 20, 2005 11:03 am
by Fred
what is the identifiant of your 2nd window ? (Look in Open_Window_2()).

Posted: Fri May 20, 2005 4:40 pm
by kane
Fred wrote:what is the identifiant of your 2nd window ? (Look in Open_Window_2()).
I already got to work thanks fred hehe was cuz was not using diffrent buttons for diffrent pages :)