Small Basic Forum
working with two windows - Printable Version

+- Small Basic Forum (https://litdev.uk/mybb)
+-- Forum: Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=1)
+--- Forum: Extensions (https://litdev.uk/mybb/forumdisplay.php?fid=3)
+--- Thread: working with two windows (/showthread.php?tid=390)



working with two windows - martmen - 06-07-2025

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


RE: working with two windows - litdev - 06-07-2025

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.