I haven't figured out the gist of container controls. I've tried to use them several times and found that I was using the wrong tool for the job.

I've thought that I might use a container control when I've had several virtually identical groups of controls. In the past I've placed all of these on a parent of some sort (perhaps a groupbox), and made the parent and each child component control part of a control array by setting its index to 0. I've made clones of the group of controls by copying and pasting the parent (groupbox): each child will be pasted and will be part of a control array with a matching index.

It seemed to me that a container control would be the more elegant way of doing this, but container controls can't be part of control arrays. How do you clone a container control and how do you address a particular clone?

Can anyone give some examples of how container controls are effectively used? Or describe the situations where they are best used?

John Kubie
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to