These two lines should do it

   copy button "btnToStoreAsObjectFormat"
set the cpsObjects["cpBtn2"] of this stack to the clipboarddata["objects"]

Dictionary explains the clipboard array elements, one of which is "objects"
Note special rules for stacks, cards, and groups.


On May 5, 2011, at 7:25 PM, Thomas McGrath III wrote:

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.

Jim Ault
Las Vegas



_______________________________________________
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

Reply via email to