Hello, I have a form whichj contains a tableLayoutPanel with 2 columns, set to stretch and shrink together with the form size ( anchor set to top/left/right/bottom ). Inside the second column, I have a panel, with dock set to fill. Inside the panel, I have a progressBar positioned in the middle of the panel. The problem is that when the form size changes, the position of the progressbar changes as well. How can I make it stay in place and not adapt its position to the panel's size?
If you don't want the ProgressBar to move with the panel then why did you add it to the Panel in the first place? If you want the ProgressBar to be positioned relative to the form then add it to the form.
So put it in front of the Panel. There's no problem having multiple controls with the same Parent overlapping. You can adjust the z-order to have whichever you want in front and behind. You might want to make use of the Document Outline window to see and modify a hierarchical view of the controls on a form.