Sign in to follow this  
Followers 0
xeroTechnologiesLLC

[Resolved] on close of gui 1, gui 2 pops up - why?

3 posts in this topic

#1 ·  Posted (edited)

I'm trying to debug a problem that I'm not really 100% sure why it's happening.

When I click on a close button on gui1, gui2 pops up.

Below is the code for the close button on gui1:

Case $GUI_EVENT_CLOSE, $CloseSetWin
     GUIDelete($FRMSettings)
     ExitLoop

Notice that the event_close and close button are going to do the same thing, right?

Clicking the close button causes the problem - alt f4 or X button does not.

Thoughts?

Memory leak?

The window that is loading is called through a function and I thought maybe I hadn't killed the function correctly at some other part in the code so I reset the computer to clear the memory and start the menu program. Once it was loaded I loaded the gui1 window and then clicked the close button and gui2 still pops up.

Odd to me.

Not sure how a gui would load if it's not being called or created.

;):) :) ;) LOL

Edited by xeroTechnologiesLLC

Share this post


Link to post
Share on other sites



Something else to note, forgot to post, is that when I click the X button on the gui1 window it kills the entire program - which it shouldn't be doing.

Share this post


Link to post
Share on other sites

OMFG just figured it out.

I'm a moron.

$nMsg = GUIGetMsg() was used more than once...

/sigh

Apologies for wasting time.

[RESOLVED]

:);) ;) :):D :D :D :D :D:mad2:

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