How to close window.
BlitzMax Forums/MaxGUI Module/How to close window.
| ||
Hi, I have 2 windows in my application. I want to only one window on some operation. Im using the END keyword , it is closing the entire application. What needs to be done to achieve this? |
| ||
HideGadget or FreeGadget? |
| ||
Probably something like FreeGadget(window). Where "window" is the reference to the window gadget you want to close. You can also HideGadget(window), if you don't want to completely delete it, using ShowGadget(window) later to show it again. <Edit> Like what REDi said. |
| ||
Some code to play with: |