Shortcut to creating groups of Objects?
Posted: Tue Mar 03, 2015 2:02 am
Hello Folks,
Been playing around with LiveCode a lot recently, and I've been working on a goofy GUI game about managing a mine. I recently reached a stumbling block and I thought I'd ask here as I didn't find answers readily through google.
Basically, I want to script a button that will create a group of objects eg. a datagrid with specific Properties, a Progress bar (with properties) below it and a couple buttons(with scripts and properties). What I am hoping is that there is some way to create it first by hand using the tools menu so that I can easily tweak it to look the way I want, and then save the whole thing as some kind of 'template' so that a handler could be used to create a new group with those specific objects and properties later. For example, Is it possible to have livecode spit out all the nitty-gritty properties etc. of an existing object (or group) as a script that I could copy and paste into the script of another button?
Is anything like this possible? Or do I need to script every Property and location of every object line by line?
Any help is appreciated!
Been playing around with LiveCode a lot recently, and I've been working on a goofy GUI game about managing a mine. I recently reached a stumbling block and I thought I'd ask here as I didn't find answers readily through google.
Basically, I want to script a button that will create a group of objects eg. a datagrid with specific Properties, a Progress bar (with properties) below it and a couple buttons(with scripts and properties). What I am hoping is that there is some way to create it first by hand using the tools menu so that I can easily tweak it to look the way I want, and then save the whole thing as some kind of 'template' so that a handler could be used to create a new group with those specific objects and properties later. For example, Is it possible to have livecode spit out all the nitty-gritty properties etc. of an existing object (or group) as a script that I could copy and paste into the script of another button?
Is anything like this possible? Or do I need to script every Property and location of every object line by line?
Any help is appreciated!