This might be a stupid question but I thought that Fill and Top DockStyles wouldn't overlap each other.
I have two group boxes, I want one to dock top and never change size
I want the other to fill the rest of the space and fill the space on resizes.
Let's call them gbTop and gbFill
I make gbTop.Dock = DockStyle.Top and gbFill.Dock = DockStyle.Fill but gbFill fills the whole area including behind gbTop so the top of gbFill cant be seen because it's behind gbTop
What am I doing wrong?
Hello,
Occasionally, Visual Studio gets confused with the z-order of docked controls. Try using the "Bring To Front"/ "Send To Back" context menu options on the control set to Dock.Fill. Hopefully this helps. Please let me know if you require further assistance.
Thanks,
Chris.