Re: Usercontrol not visible
So you do see the first one but not the second? Could it be directly behind the first one if you are not designating .Top, .Left, .Width and .Height properties for it?
Re: Usercontrol not visible
RobDog888 has right;)
if you don't tell the position or size, the VB will use the position and size padron. the position is 0,0(zero).
but anotherthing, you put the 2nd control visible property in true?
(when we create dynamic controls you must put the visible property in true, for see them)
i hope help you more
Re: Usercontrol not visible
When dynamically adding controls, the initial position is the position of the lowest bound control. And its zOrder is the lowest. So any new control is added behind the lowest bound control. Position and/or zOrder of the newly loaded control needs to be modified to see it.