Hey guys, a few months ago I started programming in Corel. I added 4 or 5 fields to the Object Data, and I remember there being some difficultly with getting them to show in the Docker compared when to I was entering them in the Field Editor. I don't remember how exactly I got them to display. Maybe a close and reopen of Corel.
Fast forward to now, and I am unable to Create New Field. I click "Create New Field," it takes me to a blank line that I cannot type in. I double click the field and cannot type. I even tried to add the new data fields via VBA and as soon as I "add them," they do not exist, haha.
Is there something I am missing? Anyone else experience this?
Zeke
Loveland, CO
I just tried using this in 2019 on a shape, and it worked as expected when I opened the same document later.
Sub save_shape_properties() Dim s As Shape Set s = ActiveShape s.Properties("MyProperty1", 1) = "foo" s.Properties("MyProperty1", 2) = "bar" End Sub '------------------------------------------------------------- Sub check_shape_properties() Dim s As Shape Set s = ActiveShape MsgBox "MyProperty1, ID 1: " & s.Properties("MyProperty1", 1) MsgBox "MyProperty1, ID 2: " & s.Properties("MyProperty1", 2) End Sub
Ahhh, I see what I did. I was migrating information from some ObjectData to the properties. I had some numbers in object data that it appears I needed to convert to a string in order store it in the properties.