Shouldn't CopyStructure also copy field properties (Required, Visible, etc)?
If I set MyField.Required := False; and then do CopyStructure(), I field required property becomes required = true. Why? Is there any other method I should use?

Could you check if the issue is still present in the latest GIT content? If yes, please provide the zipped sources of an application showing this.

(0021773)
mh (reporter)2019-04-28 10:48

As I understand the code, it currently only copies the FieldDefs from source. Now we would need to decide if that is what it shall do or if it shall copy other properties not directly derived from the field defs. if so, we'd need to decide which ones to copy.