programmatic creation of datagrid?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
programmatic creation of datagrid?
Can datagrids only be created through dragging to card from the IDE?
Re: programmatic creation of datagrid?
I don't know.
I was thinking it might be possible to set the properties of the templateGroup to all the properties of an existing dataGrid, and then when you create a new group, you get a new datagrid?
I don' think so. There are a lot of objects in a datagrid, and this object set is way beyond merely the properties of a group. Just thinking out loud here.
I don't know.
I was thinking it might be possible to set the properties of the templateGroup to all the properties of an existing dataGrid, and then when you create a new group, you get a new datagrid?
I don' think so. There are a lot of objects in a datagrid, and this object set is way beyond merely the properties of a group. Just thinking out loud here.
I don't know.
Re: programmatic creation of datagrid?
I'm thinking, since a DG is written in LC it can be done.
Probably a ton of work, is there a revDataGrid? hmm don't see one immediately.
Simon
Probably a ton of work, is there a revDataGrid? hmm don't see one immediately.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: programmatic creation of datagrid?
I am sure it can be done via livecode, there is just no object creation function for the macro that is available. At least not yet...
Re: programmatic creation of datagrid?
you can make a copy of an existing datagrid group no?....isn't the "template stack" stored in one of the internal properties of the group?.... perhaps make a copy but change the template that it references ...and for sure u can change the template via the code.
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com