9 answers

Agree with you. It was loosing contact with DCO field. So followed this approach. ( although mediocre :) :) but worked for me )

1> Create Group box First

2> Ctrl_C and Ctrl_V control . It get copied to some Xyz location on same panel. Then move it with mouse into group box. [ If you directly try to move then your control becomes invisible when you move it inside group box.]

That's interesting. In my experience with indirect or unofficial confirmation from development/product team, dcim/dced/comboBox controls, with their tags set to DCO field names but put inside a groupBox, would "lose" their connections to the actual DCO fields. But it sounds like you got this working since you said "some settings of group box ... causing the issue". Do you mind sharing what these settings are and what change(s) you had to make, because I had to take all these controls outside the groupbox, which is the only way I found working.

Let's say there's one field named Field1 in DCO, so there should be dcimField1 and dcedField1 controls on the form, regardless of when you create the groupbox. With Ctrl_C/Ctrl_V, you're copying one or both of these two controls, which means we'd see controls named as dcimField11 and/or dcedField11.

If I'm right so far, then which control(s) are you moving with mouse into the groupbox? Are you eventually working with two "duplicated" controls for the same one field? What do you see in "Document Outline" panel/window in VS regarding copied/duplicated controls or not and which of these controls would show under the groupbox?

So, using my example as a reference again, you'll be working with dcimField11 and dcedField11, which are newly copied/created, instead of dcimField1 or dcedField1, which are original.

If this is correct, then - again - what do you see in "Document Outline" panel regarding these "new" controls and the groupbox? Specifically, are these "new" controls listed under the groupbox in "Document Outline" panel? What I'm trying to confirm is if any of these controls, "new" and original, is actually inside the groupbox. If a non-groupbox control is not actually inside the groupbox, but only showing above/under the groupbox because of their coordinates, you can't, for example, code the groupbox to be invisible to automatically make the non-groupbox control invisible.

If these "new" controls are indeed inside the groupbox and you're able to show field values in these "new" controls, it's the very thing I asked about earlier and haven't been able to work out. If newly copied/created controls should work differently from the original ones, I don't know if it's a good thing or not.

If these new controls are not inside the groupbox, do you have the groupbox just for visual effect? If so, I think you should be able to use the original ones by bring them to the front and outside the groupbox control - the latter can be done easily in Document Outline panel.