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 10
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
Under the hood it would do what we can do now in script, but it would be
much more intuitive.
--
Richard Gaskin
Fourt
;My Button"
set the wholeMatches to true
delete 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
ineOffset("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
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,