How to delete a single customkey?

Björnke von Gierke bvg at mac.com
Wed Apr 27 20:49:35 EDT 2011


besides the one you delete, all else remain the same. did you actually try our examples, to see what they do?

On 27 Apr 2011, at 17:43, Glen Bojsza wrote:

> will this retain the custom properties and their contents of the customkeys
> not deleted?
> 
> On Wed, Apr 27, 2011 at 6:34 PM, Pete <pete at mollysrevenge.com> wrote:
> 
>> put the customkeys of <yourobject> into myTemp
>> set the wholeMatches to true
>> delete line lineoffset(<yourpropertyname>,myTemp) of myTemp
>> set the customKeys of <yourobject> to myTemp
>> 
>> 
>> Pete
>> Molly's Revenge <http://www.mollysrevenge.com>
>> 
>> 
>> 
>> 
>> On Wed, Apr 27, 2011 at 5:16 PM, Glen Bojsza <gbojsza at gmail.com> wrote:
>> 
>>> Hello,
>>> 
>>> I have found that you can delete all customkeys of an object by setting
>> the
>>> customkeys to empty.
>>> 
>>> But I only want to delete one of the customkeys?
>>> 
>>> Is it all or nothing?
>>> 
>>> thanks,
>>> 
>>> Glen
>>> _______________________________________________
>>> 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
>> 
> _______________________________________________
> 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