Data Grid Templates AndLongIDNumber

william humphrey bill at bluewatermaritime.com
Tue May 22 12:22:46 EDT 2012


That's good news Pete.

On Tue, May 22, 2012 at 12:18 PM, Peter Haworth <pete at lcsql.com> wrote:

> Hi William,
> When you say "long ID number", do you mean the name of the datagrid
> template stack - "Data Grid Templates" followed by a long series of
> numbers?
>
> I believe the datagrid library refers to that stack by its LC long ID, not
> it's name but LC itself doesn't like stacks with the same name to be in
> memory at the same time.
>
> Take a look at the dgProps custom property set for a datagrid you created
> after copying the stack, specifically the Row Template property.  I think
> you'll see that it references the template stack by the LC long id, not the
> stack name so I think you'll be OK to change the name of the template
> stack.
>
> Pete
> lcSQL Software <http://www.lcsql.com>
>
>
>
> On Tue, May 22, 2012 at 7:28 AM, william humphrey <
> bill at bluewatermaritime.com> wrote:
>
> > I created a stack with several data grid templates.  When you do so
> > liveCode makes a special stack with a long ID number.
> >
> > Later I copied that stack and made a lot of changes in it including some
> > new data grids.  Now when I run both stacks at the same time there is a
> > conflict as there are two data grid stacks with exactly the same ID
> number.
> >
> > If I change that ID number for one of the stacks will it mess-up all the
> > data grids? If so how do I fix this conflict?
> >
> > Thanks
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.bluewatermaritime.com



More information about the use-livecode mailing list