Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

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.

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top