Changing control's visibility does not rearrange docked controls

  • Thread starter Thread starter Netter
  • Start date Start date
N

Netter

I have two controls on a form.

The first is Dock top and the second is dock Fill

When the first changes from not visible to visible the second does not move
down. That is the top of the one that is Dock Fill is covered by the one
that is Dock Top.

Is there a way to fix that?


thanks
 
After .Visible = true, you could try
<Control>.SendToBack or <Control>.BringToFront
either one should do the gig..

Vijay
 
Vijay said:
After .Visible = true, you could try
<Control>.SendToBack or <Control>.BringToFront
either one should do the gig..


Doesn't matter if I send to the back or the front?
A little hard to understand.

Thanks, I'll try it now.
 
Back
Top