Delete a single custom property set

2014-02-11 Thread Ray
Does anybody know how to delete a single custom property set without deleting any others? The documentation mentions setting an object's customPropertySets to empty, but that deletes ALL the customPropertySets. I just want to delete one specific custom property set. Thanks, Ray

RE: Delete a single custom property set

2014-02-11 Thread John Dixon
the customPropertySets of button My Button to it Date: Tue, 11 Feb 2014 08:41:08 -0500 From: r...@linkit.com To: use-livecode@lists.runrev.com Subject: Delete a single custom property set Does anybody know how to delete a single custom property set without deleting any others? The documentation

Re: Delete a single custom property set

2014-02-11 Thread Ray
line lineOffset(mySet,it) of it set the customPropertySets of button My Button to it Date: Tue, 11 Feb 2014 08:41:08 -0500 From: r...@linkit.com To: use-livecode@lists.runrev.com Subject: Delete a single custom property set Does anybody know how to delete a single custom property set without

Re: Delete a single custom property set

2014-02-11 Thread Richard Gaskin
Ray asked: Thanks for this tip. That's really weird though isn't it? It may be helpful to submit a request for that in the Bug DB, something like: delete propertySet propSetName Under the hood it would do what we can do now in script, but it would be much more intuitive. -- Richard

Re: Delete a single custom property set

2014-02-11 Thread Ray
I'll do that, and I'll also add a request for an intuitive, one-liner way to rename a custom property set, as in set the name of customPropertySet oldName of object objName to newName which is another thing we can currently only do by writing a script. Thanks Richard, Ray On 2/11/2014