Changing control's visibility does not rearrange docked controls

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
 
V

Vijay

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

Vijay
 
N

Netter

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top