How to delete a single customkey?

Glen Bojsza gbojsza at gmail.com
Wed Apr 27 21:16:26 EDT 2011


thanks.

I find that if you don't work with custom properties on a regular basis it
becomes confusing and sometimes frustrating.

Similarly for open process!



On Wed, Apr 27, 2011 at 6:55 PM, Pete <pete at mollysrevenge.com> wrote:

> put the custompropertysets of <yourobject> into myTemp
> set the whole matches to true
> delete line lineoffset(<your custompropertyset>,muyTemp) of myTemp
> set the custompropertysets of <yourobject> to myTemp
>
> There's a pretty good write up on all this stuff in the USer Guide,
> starting
> on page 229.
>
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
>
>
>
>
> On Wed, Apr 27, 2011 at 5:42 PM, Glen Bojsza <gbojsza at gmail.com> wrote:
>
> > what about deleting a single custompropertyset?
> >
> > In the inspector under custom properties in the middle there are
> customkeys
> > and a couple of others that I have made (Exam1 and Exam2).
> >
> > Selecting Exam1 and clicking the garbage can deletes Exam1 and it's
> custom
> > properties and property contents.
> >
> > What would be the equivalent command of the garbage can? If you can
> > selectively delete items here then there has to be a scripting method...
> > you
> > would think?
> >
> >
> > 2011/4/27 Björnke von Gierke <bvg at mac.com>
> >
> > > you can set it to parts of the existing customkeys like this:
> > >
> > > put the customkeys into theList
> > > delete line 2 of theList
> > > set the customkeys to theList
> > >
> > > On 27 Apr 2011, at 17:16, Glen Bojsza 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
> >
> >
> _______________________________________________
> 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