Since the datagrid template stacks are substacks if there are no handlers to "catch" openstack closestack in the grid template stacks they go up the message path to the main stack where they are "handled" by the openstack /closestack in the stackscript. To stop this you could put an empty openstack/close stack in the template stack, or put in a check against the target to make sure you actually want the script to run, or you can move them to the first card in the main stack (the card that is open first when the app starts) so that when a substack causes an openstack/closestack there are no handlers in the stack script to respond to the message. If I recall correctly, when the message passes from the substack to the mainstack it is handed to the stack not the card.
On Tue, May 7, 2013 at 8:14 PM, Gerry Orkin <[email protected]> wrote: > No and no :) > > > Gerry > > On Wed, May 8, 2013 at 12:09 PM, Andrew Kluthe <[email protected]> wrote: > > > Do you have any handlers for these in your data grid? Is your datagrid on > > more than 1 card? > > On Tue, May 7, 2013 at 7:58 PM, Gerry Orkin <[email protected]> > wrote: > >> Whenever I open or close the data grid template stack in a particular > >> stack in the IDE the openstack and closestack messages in the main stack > >> get triggered. I've used data grids in a few stacks but haven't seen > that > >> behaviour before LC 6.0.1. > >> > >> What's the deal? > >> > >> Cheers > >> > >> Gerry > >> _______________________________________________ > >> use-livecode mailing list > >> [email protected] > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > -- > > Regards, > > Andrew Kluthe > > [email protected] > > _______________________________________________ > > use-livecode mailing list > > [email protected] > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
