Docked multiline textbox is covered by StatusStrip

7.8k views Asked by At

I am having a form in which I have multiple line textbox and status strip both docked to the bottom of the form.

Textbox must be docked so it can be resizable while the whole form is resizable.

The problem is that the status strip is covering the textbox on the bottom of the from covering scroll bars down arrow.

Is there any way to make textbox docked to the bottom while still displaying above the status strip?

Regards.

3

There are 3 answers

1
Nps On BEST ANSWER

Or you can use Anchor property to resize control when parent resize. By default it set to top left corner. If you enable the bottom than textbox will be shrink or expand as form change size.

1
Deanna On

Right click the text box and click Bring to front (Or the Statusbar and Send to back if there are other controls). The docking is based on the ZOrder of the controls on the form with the front most being the inner most.

0
nbz On

You could also use a ToolStripContainer, which will take care of what you are trying to do and is generally an efficient way of placing toolstrips such as the statusstrip.