RubensLott
Programmer
Hi all! I have a small question.....
Suppose I have an application running about BANKS with some windows opened... When I first entered this application I opened a window to choose the BANK I wanted to work with, ok? So I set a global variable with this BANK number... Then I decided to change the BANK but I don't want to close the application and re-open it to choose another BANK..... I'm opening this selection BANK window so I can change the BANK.... BUT I must close ALL the opened windows or at least send a warning asking the user to close all of them before changin the BANK... How can check if there's an opened window??? Or how can I close all the windows at once???
Any tips?
Thanks in advance....
Suppose I have an application running about BANKS with some windows opened... When I first entered this application I opened a window to choose the BANK I wanted to work with, ok? So I set a global variable with this BANK number... Then I decided to change the BANK but I don't want to close the application and re-open it to choose another BANK..... I'm opening this selection BANK window so I can change the BANK.... BUT I must close ALL the opened windows or at least send a warning asking the user to close all of them before changin the BANK... How can check if there's an opened window??? Or how can I close all the windows at once???
Any tips?
Thanks in advance....