Storing a control in a custom property

Mike Bonner bonnmike at gmail.com
Mon Apr 29 20:53:27 EDT 2013


Yep, just did a test and it is indeed "objects"


On Mon, Apr 29, 2013 at 6: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
>>
>
>



More information about the use-livecode mailing list