Goal: get an explicit list of gradient properties from an object.

command getGradientProps

set the defaultstack to the topstack

put the fillGradient of graphic "portal-title-bkgnd" into 
lCurrentObjectProperties

put the keys of tCurrentObjectProperties

repeat for each key x in lCurrentObjectProperties

put x & " | " & lCurrentObjectProperties[x] & cr after tCheckProperties

end repeat

put tCheckProperties

end getGradientProps

No matter how I try, I cannot fetch the keys of the gradient… the dictionary 
does not indicated that we cannot read this array

any ideas?

BR

_______________________________________________
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