Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docked multiline textbox is covered by StatusStrip

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.

like image 806
HelpNeeder Avatar asked Nov 03 '11 13:11

HelpNeeder


3 Answers

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.

like image 200
Deanna Avatar answered Nov 15 '22 16:11

Deanna


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.

like image 22
nbz Avatar answered Nov 15 '22 15:11

nbz


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.

like image 25
Nps Avatar answered Nov 15 '22 15:11

Nps