By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,640 Members | 2,094 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,640 IT Pros & Developers. It's quick & easy.

how to increase textbox size dynamically in

P: 1
please suggest me the best answers
May 1 '14 #1
Share this Question
Share on Google+
1 Reply

P: 299
We have to enable multiline to be able to change the height of a textbox. If changing the height is not required, omit the first line of code I've provided. Also, TextBox1 should be replaced with the name of your textbox and "500" on the height and width should be replaced with your desired integer.

Expand|Select|Wrap|Line Numbers
  1.         TextBox1.Multiline = True
  2.         TextBox1.Width = 500
  3.         TextBox1.Height = 500
May 1 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.