How to delete a single customkey?

Pete pete at mollysrevenge.com
Wed Apr 27 20:34:42 EDT 2011


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
>
>



More information about the Use-livecode mailing list