Hello,
I'm kinda new to PB.
What i want to do is:
Create a menu bar that i can put in the whole application.
Question:
In the menu bar is an option "exit" if exit is clicked i want to close the window.
Normally you would do this with: close(windowname).
How can I close a window without knowing the name?
Please let me know how I can do that.
Thanks in advance
I'm kinda new to PB.
What i want to do is:
Create a menu bar that i can put in the whole application.
Question:
In the menu bar is an option "exit" if exit is clicked i want to close the window.
Normally you would do this with: close(windowname).
How can I close a window without knowing the name?
Please let me know how I can do that.
Thanks in advance