Issues in clearing properties

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mvillion
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 108
Joined: Sun Feb 24, 2013 12:29 pm

Issues in clearing properties

Post by mvillion » Wed Sep 10, 2025 4:18 pm

I have an issue with attempting to clear properties in a stack or other object.

(Please attached .png file)

I think an array got 'set' as the properties and there is nothing I have tried to be able to clear it, beside deleting the whole object and recreation.

I have performed many Google searches and attempted all of the described fixes and none of them will clear these entries.

1 - Manual selection and deletion does not work
2 - Using 'set the customKeys of this stack to empty' does not work

They are not causing an issue except it is annoying.

Any ideas anyone? I am open to all ideas..
Attachments
Properties.png

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10364
Joined: Wed May 06, 2009 2:28 pm

Re: Issues in clearing properties

Post by dunbarx » Wed Sep 10, 2025 5:41 pm

Hi.

I assume you mean "custom properties", because you cannot delete native properties.
Check out the "customProperties", er, property, and also possibly "customKeys" and "customPropertySet"

You have complete control over any and all custom properties.

Craig

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10364
Joined: Wed May 06, 2009 2:28 pm

Re: Issues in clearing properties

Post by dunbarx » Wed Sep 10, 2025 5:47 pm

Looking at your screenshot, perhaps you were thrown by the fact that you are able, in the inspector, to change the name of a key or element of a custom property but not delete that property?

Anyway, see the dictionary for the tools you need. To bulldoze all of them:

Code: Select all

set the customKeys of stack "yourStack" to ""
Craig

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4177
Joined: Sun Jan 07, 2007 9:12 pm

Re: Issues in clearing properties

Post by bn » Wed Sep 10, 2025 9:10 pm

dunbarx wrote:
Wed Sep 10, 2025 5:47 pm
Anyway, see the dictionary for the tools you need. To bulldoze all of them:

Code: Select all

set the customKeys of stack "yourStack" to ""
The screenshot refers to group "dg_ControlName". That could be a part of a dataGrid. Setting the customproperties of the stack to empty will not help then. But I do not know enough of DataGrids to be of help.

Kind regards
Bernd

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10364
Joined: Wed May 06, 2009 2:28 pm

Re: Issues in clearing properties

Post by dunbarx » Thu Sep 11, 2025 3:45 am

Yipes. I did not look as carefully as Bernd did. Trevor, are you seeing this?

Craig

Post Reply