473,320 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Changing control's visibility does not rearrange docked controls

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


Apr 13 '06 #1
2 1339
After .Visible = true, you could try
<Control>.SendToBack or <Control>.BringToFront
either one should do the gig..

Vijay

" Netter" <ne**********@a-znet.com> wrote in message
news:u2**************@TK2MSFTNGP02.phx.gbl...
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

Apr 13 '06 #2

"Vijay" <vi***@msdiscussions.com> wrote in message
news:uH**************@TK2MSFTNGP03.phx.gbl...
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.
Vijay

" Netter" <ne**********@a-znet.com> wrote in message
news:u2**************@TK2MSFTNGP02.phx.gbl...
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


Apr 13 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Yasutaka Ito | last post by:
Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on...
4
by: multimatum2 | last post by:
Hello, I need to enable/disable input text forms... But... I need to have the same style (color...) in both modes.. Could you help me ? Thanx a lot A small sample... ...
1
by: Bob (remove 'excise-' to reply) | last post by:
I've got a form with three controls: a left-docked richtextbox, a right-docked form, and a right-docked listview. When I resize the form, the listview increases and decreases, the splitter...
4
by: Ron Vecchi | last post by:
Could someone point me in the right direction for creating a control similar to the VS solution explorer where it will auto hide and open when needed. Thanks -- Ron Vecchi
0
by: AinO | last post by:
Hi, (VS2003/c# - System.Windows.Forms) I have two panels on a parent panel, where one is docked top and the second docked client area. They both have their Visible property = false at design...
6
by: Nick Stansbury | last post by:
Hi, I have a loop running on Page_PreRender that sets a number of controls to invisible based on a set of criteria. Before I do this however, I set all of the drop down lists to be visible with...
11
by: -D- | last post by:
How can I turn the visibility of the xml control on or off? <%@ Control Language="c#" AutoEventWireup="false" Codebehind="TopNavBar.ascx.cs" Inherits="compass.user_controls.TopNavBar"...
1
by: RobcPettit | last post by:
Hi, I hope I dont make a mess of this question, as Im new to c# my terminology is a bit of, here goes. Ive started to make a windows application and Ive added a usercontrol from another program,...
7
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.