>No. I know now how to create an imagecontainer programatically by using the addobject, but for all your examples, I know at first hand what the name for that imagecontrol will be, like what you say in addobject("imagename","Image")
>
>But my problem is, at design time, I do not know what the name of the imagecontainer will be.
>
>If there's no other way, I guess I'll try using Naomi's example. It's the closest to what I really want. So thanks a lot!
If you add an object programmatically, i.e. in run-time, why do you need to know the name in design time?
Edward Pikman
Independent Consultant