Hey Bob, I just tested it and it captured the controls and properties and custom property sets ....it would take extra work to "restore" a datagrid, because we have to package the template stack...... but i think it will work. Unless there is a property that the datagrid control has that is unique to it and is not captured. I can see the hierarchy of controls ...etc.
PM me I can send you the stack if you want to take a look On Tue, May 21, 2024 at 11:06 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Including datagrids? I have a save and restore method for Datagrids, but I > don’t think I back up ALL the properties, just the critical ones. > > Bob S > > > On May 20, 2024, at 5:58 PM, Tom Glod via use-livecode < > use-livecode@lists.runrev.com> wrote: > > I have a plugin that is not complete which can save livecode groups and all > of their properties, custom properties and scripts. If you'd like I'll > send you some of the code. PM me. > Should be super easy to find the code u need, and then inverse it. > If you did that it would help me complete the plugin and I could release > it. > > On Thu, May 16, 2024 at 8:05 PM Mike Kerner via use-livecode < > use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> > wrote: > > this is also how levure operates, so if you build with levure, you can just > do this with stacks in the project > > On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < > use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> > wrote: > > You can save external stacks or created on the fly stacks where ever you > have *write* (and read) permission on your OS. > > Increasingly, whether macOS or Windows, that is not the Applications > (macOS) or Program Files/Program Files (x86) (Windows) folders. I find > the SAFEST place to save something is using > specialFolderPath("documents") and then create a folder structure for > your company or app in the user's Documents folder. OSes are becoming > more and more "sandboxed" to prevent malware and dumb user mistakes from > wrecking apps or the OS itself. > > _______________________________________________ > 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 > _______________________________________________ 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