Ray... from the user guide...
In LiveCode, there is no command to delete a custom property set. Instead, you place all the custom property set names in a variable, delete the one you don't want from that variable, and set the customPropertySets back to the modified contents of the variable. This removes the custom property set whose name you deleted. For example, the following statements delete a custom property set called "mySet" from the button "My Button": get the customPropertySets of button "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 set > > 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 > > _______________________________________________ > use-livecode mailing list > use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode