Page 1 of 1

Issues in clearing properties

Posted: Wed Sep 10, 2025 4:18 pm
by mvillion
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..

Re: Issues in clearing properties

Posted: Wed Sep 10, 2025 5:41 pm
by dunbarx
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

Re: Issues in clearing properties

Posted: Wed Sep 10, 2025 5:47 pm
by dunbarx
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

Re: Issues in clearing properties

Posted: Wed Sep 10, 2025 9:10 pm
by bn
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

Re: Issues in clearing properties

Posted: Thu Sep 11, 2025 3:45 am
by dunbarx
Yipes. I did not look as carefully as Bernd did. Trevor, are you seeing this?

Craig