• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 535
  • Last Modified:

How to make textbox stretchable?

I have a simple Windows Forms in Visual Studio with a multiline textbox. I can stretch the window, but the textbox doesn't stretch with the window.

How do I make the textbox stretch with the window?
0
deleyd
Asked:
deleyd
2 Solutions
 
sachinpatil10dCommented:
Set the Anchor property of text box to Top,Bottom,Left  or Top,Bottom,Left,Right
0
 
Jacques Bourgeois (James Burger)PresidentCommented:
Depends on how you want to stretch it.

Vertical only      Anchor property : Top,Bottom
Horizontal only  Anchor property : Left,Right
All sides            Anchor property : Top,Bottom,Left,Right
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now