C
Carlo \(MCP only\)
Good afternoon
I've developed some controls that holds specialized collections of items (a
collection of ImageItems for a ImageComboBox, a collection of MenuItems for
a Toolbar, etc.). The controls and the embedded collections interacts each
other correctly and everything work fine.
But I've a problem that I'm not able to solve: when the control
(ImageComboBox, for example) is placed on a form, and it is copied (Ctrl-C)
and then pasted into the same form, the embedded collection is correctly
copied into the new ImageComboBox.
Instead, when it is pasted into another form, the collection of items is
lost.
What I'm missing?
Thank you
Carlo
I've developed some controls that holds specialized collections of items (a
collection of ImageItems for a ImageComboBox, a collection of MenuItems for
a Toolbar, etc.). The controls and the embedded collections interacts each
other correctly and everything work fine.
But I've a problem that I'm not able to solve: when the control
(ImageComboBox, for example) is placed on a form, and it is copied (Ctrl-C)
and then pasted into the same form, the embedded collection is correctly
copied into the new ImageComboBox.
Instead, when it is pasted into another form, the collection of items is
lost.
What I'm missing?
Thank you
Carlo