How to delete a single customkey?

Pete pete at mollysrevenge.com
Wed Apr 27 20:52:28 EDT 2011


Yes, it just deletes the one custom property and leaves all the others
intact.


Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Wed, Apr 27, 2011 at 5:43 PM, Glen Bojsza <gbojsza at gmail.com> 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