Re: delete the customproperty (of a card)

2018-01-01 Thread Dr. Hawkins via use-livecode
For removing a single property while leaving the rest intact, I have a library routine rmProp. on rmProp prop, tgt --remove a property from the basic property set local props if tgt is empty then put the long id of me nto tgt end if put the customProperties of tgt into props repeat for each

Re: delete the customproperty (of a card)

2017-12-31 Thread Nicolas Cueto via use-livecode
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 wrote: > The answer for what I was after: > > > On 1 January 2018

Re: delete the customproperty (of a card)

2017-12-31 Thread Nicolas Cueto via use-livecode
The answer for what I was after: On 1 January 2018 at 02:03, Richmond Mathewson via use-livecode < use-livecode@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 na

Re: delete the customproperty (of a card)

2017-12-31 Thread Richmond Mathewson via use-livecode
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

Re: delete the customproperty (of a card)

2017-12-31 Thread Richmond Mathewson via use-livecode
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 objec

Re: delete the customproperty (of a card)

2017-12-31 Thread hh via use-livecode
Dictionary > customKeys ___ 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

delete the customproperty (of a card)

2017-12-31 Thread Nicolas Cueto via use-livecode
Very simple question, I guess. But from the documentation I've only figured out : set the customKeys["myCP"] of this card to empty How do I completely delete the customProp myCP itself? Bettery yet, how could I delete at once all customProps, even if I don't know their names?! Thanks. (And "akem