Wow! that very cool Can you post a sample stack, or snippet of code for this
"Just by passing the long ID, instead of a string of parameters. It's like a package of variables, AND the variables are persistent between sessions." BR On 10/16/18 5:13 AM, Bob Sneidar via use-livecode wrote: > For instance I have a command that pops up a "tooltip" (not a real tooltip > but a field) when I right-click a record in a datagrid, containing summary > information about the record clicked on. How do I know what columns belong in > the summary data? I store them in a custom property in the datagrid, then > pass the long id of the datagrid to the command. > > Think about that. Not only do I have the long ID of the datagrid, but also > the long ID of the group (if any) the datagrid belongs to, the long id of the > card, and the stack reference. Then I can reference all the regular and > custom properties and know I am dealing with exactly that object clicked on, > and not a copy of the object I forgot to delete. Just by passing the long ID, > instead of a string of parameters. It's like a package of variables, AND the > variables are persistent between sessions. > > Bob S -- Svasti Astu, Be Well! Brahmanathaswami Get the SivaSiva app, it's free: https://www.himalayanacademy.com/apps/sivasiva _______________________________________________ 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