delete the customproperty (of a card)

Nicolas Cueto niconiko at gmail.com
Sun Dec 31 20:15:44 EST 2017


The answer for what I was after:

 set the customPropertySets of this card to empty

Thanks all. Particularly, Glen Bojsza for the offlist sample stack and
explanatory video.

--
N. Cueto

On 1 January 2018 at 10:14, Nicolas Cueto <niconiko at gmail.com> wrote:

> The answer for what I was after:
>
>
> On 1 January 2018 at 02:03, Richmond Mathewson via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> Fegs!
>>
>> delete the customKeys of card id 1002
>>
>> warked :-*
>>
>> Richmond.
>>
>>
>>
>> On 31/12/2017 6:59 pm, Richmond Mathewson wrote:
>>
>>> If you know the name of the customProp . . .
>>>
>>> one can EMPTY the customProp very easily indeed:
>>>
>>> set the "XYZ" of card id 1002 to empty
>>>
>>> that does, howeve, mean that the prop "XYZ" is still 'there':
>>> I'm not sure whether that is important.
>>>
>>> In the DICTIONARY is states this:
>>>
>>> "You can delete an object's custom property sets by setting the object's
>>> customPropertySets to empty."
>>>
>>> So I wonder why this:
>>>
>>> set the customPropertySets of card id 1002 to empty
>>>
>>> divn't work?
>>>
>>> At this point I would generally start sending 'slightly offensive'
>>> remarks to Mark & Kevin,
>>> but for a variety of reasons just the now I'll content mysen by sending
>>> them
>>>
>>> "Hae a gae guid Hogmanay, chiels!"
>>>
>>> Yours aye, Richmond,
>>> an Ah'll stick the knife intil ye in the new towmond ;-)
>>>
>>>
>>>
>>>
>>> On 31/12/2017 6:02 pm, hh via use-livecode wrote:
>>>
>>>> Dictionary > customKeys
>>>>
>>>> _______________________________________________
>>>> 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