In addition to Furty's response... If you have a collection of controls you can either populate them at design-time (which leads to code like you've got) or you can programmatically add them yourself. Try this: Create a new project and put a GroupBox on the form Add a single control to that GroupBox Look at the Windows Generated code. Now you have a template for what YOU would do, since the logic is adding a single control to the Control collection. Rip out the Windows generated code and make it a programmatic loop to add each control. Now --- if you have an event like having an item selected, point it to a single routine in your build code. If it is necessary to know which control from top to bottom was selected, you can interate through the Control collection until you find that control, and that becomes the index for populating the corresponding control in the other groupbox. The beauty of reusability! _____________________________________________ The world is a dangerous place.
Not because of those that do evil,
but because of those who look on and do nothing.