QB64 Phoenix Edition
open multiple screens at once - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: open multiple screens at once (/showthread.php?tid=3013)



open multiple screens at once - drewdavis - 09-09-2024

Anyone else experiment with different ways to have multiple screens open at a time using QB64?  I've experimented with using The clipboard to send data from one QB64 app to another and it generally works but is of course prone to issues if there are other apps running that use the clipboard. Reading and writing to the same files as a way to get it done as well. What I've seen but am not apt with at all is sending data through networking schemes. Anyone have any tips or tricks they've used to do this?


RE: open multiple screens at once - SMcNeill - 09-09-2024

The only two screens that you can really have at the same time in one program is the CONSOLE and the main SCREEN.

Otherwise, you're going to have to use some trick like what you're talking about -- two separate programs running and talking via file, clipboard, or networking.

Here's an example of a multi-screen program using TCP/IP connections to communicate between both programs.  https://qb64phoenix.com/forum/showthread.php?tid=2858


RE: open multiple screens at once - Pete - 09-09-2024

Other ways include:

Spriggsy's Pipecom routine: https://qb64phoenix.com/forum/showthread.php?tid=2917&pid=27211#pid27211

And using SHELL to open as many windows as you want. You just have to communicate via a database they all share.

Pete