Storing a control in a custom property

Peter Haworth pete at lcsql.com
Tue Apr 30 12:41:56 EDT 2013


Thanks Mike, that's great.  I see you can also do it for a group of
objects.  I'm impressed!

Pete
lcSQL Software <http://www.lcsql.com>


On Mon, Apr 29, 2013 at 5:52 PM, Mike Bonner <bonnmike at gmail.com> wrote:

> Yes you can do that.  Just "copy" the control to the clipboard and save the
> clipboard data to a property.  (clipboarddata["objects"] I think)
>
> I was doing this with whole stacks and it works fine.  To restore the
> object, put the cWhereIStoredIt into the clipboarddata["objects"] and then
> paste it.  (didn't check dictionary so not positive if objects is correct)
>
>
> On Mon, Apr 29, 2013 at 6:48 PM, Peter Haworth <pete at lcsql.com> wrote:
>
> > Is it possible to store a control in a custom property and then create a
> > control by referencing that custom property?  I'm guessing the only way
> to
> > do it is to store the object's properties in the custom control then
> create
> > a new control and set its properties to the custom control
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list