Kay Thanks for the input. I perhaps should have explained more. I am writing a stack to test a stack. The code that I posted was setting a field in the UI of the stack being tested and then activating its on changeText handler.
Regards Peter > On 2 Jul 2015, at 14:52, Kay C Lan <lan.kc.macm...@gmail.com> wrote: > > On Thu, Jul 2, 2015 at 12:52 PM, Peter W A Wood <peterwaw...@gmail.com> > wrote: > >> >> Is there a shorter way of achieving this? >> > > The smart-alec answer would be text file or as you seem to be referring to > a large amount of data, a database ;-) > > In the Model View Controller way of doing things the data (model) is all in > one location so as to avoid the problems you are facing. It wouldn't matter > which field (view) was in which group (view) of whatever stack (view), the > call (controller) to get the data would be exactly the same. It's why I > moved to dbs a long time ago, even simple stacks I use a sqLite db; avoids > all these hassles plus you get a host of db bonus features thrown if for > free. > > Probably not what you wanted to hear ;-( > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode