Jump to content

Recommended Posts

Posted

I'm probably being dense, but if I have a GUI with Opt("GuiNotifyMode",1) set, can I set a particular button to NOT close the GUI, or will I have to set the notification mode for each button individually?

Posted

I'm probably being dense, but if I have a GUI with Opt("GuiNotifyMode",1) set, can I set a particular button to NOT close the GUI, or will I have to set the notification mode for each button individually?

<{POST_SNAPBACK}>

This option will disapear in the next beta just forget
Posted

OK, so I've got the newest beta, am I right in thinking then;

All controls notify

None close the GUI

If you want a button to close the GUI you do a WinClose("Gui Title") in the message loop when that button is returned?

Posted

If I don't do this, what's the problem? Surely the GUI won't stay on screen until I call a GUIDelete(). Does the GUIDelete() just remove the memory used by the GUI?

Also, I've got the newest Beta installed, but my GUI is being closed by clicking on a button, even without the WinClose() in the message loop... I thought this shouldn't happen now?

Posted (edited)

OK, so I'll do that then. However, at the moment, my GUI is closing anyway, even when I don't want it to (ie, haven't put in any GUIDelete code or whatever). I thought buttons didn't auto-close the GUI anymore?

Edited by Chris_1013
Posted

Gotcha, very good. Think I've grasped *that* concept now....

But, how would I have a button on a form that I click and it doesn't close the GUI, just leaves it running.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...