Small Basic Forum

Full Version: working with two windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello LitDev,

when working with two windows, the current window must be activated. In the first window, I create controls, such as a text shape. In the second window, I create a ListView. The second window is the active window. Can I simply change the text of the text shape, or do I need to activate the first window first?
The question is: when does a window need to be activated?
I’m looking forward to the answer.

Best regards,
Martin
Hi,

Yes, the window needs to be active - GW commands and commands on objects in a GW apply to the active window.

See the De translation originally supplied by Pappa Lapub on old forum, https://litdev.uk/LitDev.De_LDWindows.html.