Page 1 of 1

Faking Multiple Windows

Posted: Sat Mar 31, 2018 9:25 am
by richmond62
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 154 times

Re: Faking Multiple Windows

Posted: Sat Mar 31, 2018 4:26 pm
by dunbarx
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

Re: Faking Multiple Windows

Posted: Sat Mar 31, 2018 4:57 pm
by bogs
That is one pretty creative solution, Richmond! I like it :mrgreen: