Variable transfers Between Stacks and Sub-Stacks.
Dave
dave at looktowindward.com
Thu Mar 29 09:25:06 EDT 2007
Hi,
But how do you notify a "BOSS" that something has changed? As an
example:
I have a preference stack that hold the default way to display
measurements (Inches, MM, CM or Pixels). Other stacks that display
Measurement data use the setting to show how to display it. If I have
a stack open that is displaying in MM in a number of fields and the
user then changes the measurement to Inches I want all fields to
change instantly to Inches. I do this using my ISM module by
listening for a change of the Measurement Units. When the user
changes the value, all objects that are "Listening" for a Measurement
Changed Message get called and they update themselves accordingly.
All the Best
Dave
On 29 Mar 2007, at 14:13, Richmond Mathewson wrote:
> Well . . .
>
> the way I do it ( is probably goofy and inefficient,
> but it works ):
>
> is pop all the variables into a list field on the
> mainstack and then do something rather like this:
>
> put fld "MAINSTACKVARHOLDER" of stack "BIGBOSS" into
> fld "SUBSTACKVARHOLDER" of stack "SMALLBOSS"
>
> where the names BIGBOSS and SMALLBOSS stand for the
> main stack and substack respectively
>
> obviously you can send data either way, or all over
> the place, with this method.
>
> sincerely, Richmond Mathewson
>
> ____________________________________________________________
>
> A Thorn in the flesh is better than a failed Systems Development
> Life Cycle.
> ____________________________________________________________
>
>
>
> ___________________________________________________________
> What kind of emailer are you? Find out today - get a free analysis
> of your email personality. Take the quiz at the Yahoo! Mail
> Championship.
> http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list