Single Common Group Across Multiple Stacks

Richard Gaskin ambassador at fourthworld.com
Mon Jul 4 10:42:37 EDT 2016


Sannyasin Brahmanathaswami wrote:

 > GOAL: have a object/group (think navigation bar at the bottom of the
 > screen or some other elements you may want to be common across all
 > the stacks….) that can be displayed  in all the stacks.
...
 > So…is there  a way to similarly instantiate the presence of a
 > one-only group across multiple stacks?  I think I'm asking for
 > the moon, but I've asked for the moon before and sometimes a
 > wizard on this list actually sends us the moon.

Gain Momentum was the only xTalk I've used that had a Viewer control, a 
rectangle which could be placed on any card in any stack to provide a 
view to any other stack.

This would solve your need here quite handily (and a good many others), 
but allowing you to craft one set of controls that could then be easily 
placed anywhere, in any stack.

Ben Rubinstein submitted a request for that:
http://quality.livecode.com/show_bug.cgi?id=2786

In the meantime, the best we can do at the moment is to craft a tool 
that emulates the benefits of that workflow by automating the copying of 
a group to any stack that needs it.  Not nearly as convenient as a 
viewer object, but only takes a few minutes to write, and if the group 
being copied uses a behavior script at least the code always remains 
centralized.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com






More information about the use-livecode mailing list