The dg template includes behaviors but it isn't just a behavior - it defines the layout of the datagrid, especially if there are columns containing controls other than fields, and always for dgs that are forms rather than tables. Pete Molly's Revenge <http://www.mollysrevenge.com>
On Mon, May 23, 2011 at 11:10 AM, Bob Sneidar <[email protected]> wrote: > A behavior script (which is what the datagrid template is) can have many > parents. In fact, every data grid you create by default uses the same > template unless you tell it to do otherwise. > > I am not sure what application there is for a custom datagrid template, > since you can intercept the messages that get sent to the datagrid template > in the script of the datagrid object itself, and then optionally pass the > messages later. > > This may be a question of method. > > Bob > > > On May 23, 2011, at 10:42 AM, Keith Clarke wrote: > > > Is it only me who would find it really useful to have the option to have > data grid template cards automatically track the long ID of their 'parent' > data grid? Maybe there are good reasons for not having them work that way, > but manual house-keeping is something I like to avoid if possible. > > > _______________________________________________ > 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
