Question regarding SWITCH and window management
#1
I have a Switch statement with a CASE statement nested inside. The CASE listens for a BUTTON to be clicked. When clicked, it opens a second window on top of the original "MainView" window.

When I close this second window, the program doesn't switch back to the first window. The first window stays 'greyed' (Disabled) and waits for my to click it, bringing it back and the tab once again goes from grey to yellow.

How can I change this so that the first window is brought right back to the front (enabled) immediately upon closing the second window.

Thanks.
Reply
#2
(09-26-2024, 08:50 PM)PurpleStudio Wrote: How can I change this so that the first window is brought right back to the front (enabled) immediately upon closing the second window.

When you close the about window, use:

Window set Windowid$, "Activate"

where Windowid$ is the name of your main window.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)
Free Web Hosting