CustomProperties

dunbarx at aol.com dunbarx at aol.com
Thu May 5 23:37:54 EDT 2011


You can. You can even set a custom property to an entire stack.


I use these all the time, they are incredibly powerful and convenient.


But I do not understand what it means to set a property to an object, as opposed to a chunk of text (or maybe a video file?). So you can set the xxx of btn "b1" to btn "b2". And if you then get the xxx of btn "b1", you will get empty, unless you have made button "b2" into a container, and put some text into it. In that case you get that text back. But that is not the same thing as having the button itself as the contents of the property, is it?


It is a disconnect between what I think of as a property, and what I think of as a container.


 Can't wait to see how this works; I have always wondered...


Craig Newman





-----Original Message-----
From: Thomas McGrath III <mcgrath3 at mac.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Thu, May 5, 2011 10:25 pm
Subject: CustomProperties


I thought it was possible to 'store' a button in a custom property? This cold is 
getting to me, I can't remember.

I thought you could store all kinds of things into a custom property? Images, 
object, sounds, etc. -- Is this correct?

Thanks, and apologies for my cold driven forgetfulness.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgrath at comcast.net


_______________________________________________
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