P
Peted
Hi
using VS 2008 winforms
If i have a textbox on a winforms
During runtime, i want it to start with a vertical height of 2 lines,
and not use any scrollbars of any type.
As a user types text into the textbox, and either hits return to add a
new line or the textbox wraps text to a new line,
i want the textbox to grow in vertical height 1 line at a time as the
user eneters text
The textbox is located in a cell of a tablelayout panel.
Can any one suggest how i can make the textbox autosize vertically in
the manner i have described. A textbox does not appear to have an
autoresize property
thanks for any help
Peted
using VS 2008 winforms
If i have a textbox on a winforms
During runtime, i want it to start with a vertical height of 2 lines,
and not use any scrollbars of any type.
As a user types text into the textbox, and either hits return to add a
new line or the textbox wraps text to a new line,
i want the textbox to grow in vertical height 1 line at a time as the
user eneters text
The textbox is located in a cell of a tablelayout panel.
Can any one suggest how i can make the textbox autosize vertically in
the manner i have described. A textbox does not appear to have an
autoresize property
thanks for any help
Peted