Faking Multiple Windows

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Faking Multiple Windows

Post by richmond62 » Sat Mar 31, 2018 9:25 am

How about being able to display multiple cards in multiple windows?

Can't be done, as such, yet, in LiveCode.

But a "dark night of the soul" yieldeth this:

Code: Select all

on mouseUp
   clone stack "STAK"
   set the name of the topStack to "STAK2"
   set the left of stack "STAK2" to the right of stack "STAK"
   set the top of stack "STAK2" to the top of stack "STAK"
   go to card 2 of stack "STAK2"
end mouseUp
StackAttack.png
STAK.livecode.zip
Here's the stack.
(1.11 KiB) Downloaded 111 times

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9658
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Faking Multiple Windows

Post by dunbarx » Sat Mar 31, 2018 4:26 pm

Richmond.

Your construction of two stacks is displayed in a "frame", so it appears that two cards were simultaneously present in a single "stack".

I see what you are after; the goal being be able to navigate in each card separately.

Why only two?

Anyway, I have never needed such a feature, but certainly see that others might. I often open substacks (or other stacks) on screen, generally for a particular purpose ancillary to the working stack, and close them when done. They are in that case just a high-powered dialog box, used basically in the same way.

I remember when HC allowed up to 16 open stacks, as opposed to just one. A major enhancement.

A multi-visible-card stack would be useful for multimedia displays, and likely for other purposes. It sounds like a major effort, though, addressing the foundations of the program itself.

Can't wait to see what comes back...

Craig

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Faking Multiple Windows

Post by bogs » Sat Mar 31, 2018 4:57 pm

That is one pretty creative solution, Richmond! I like it :mrgreen:
Image

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”