I want to set the maximum lines in a cell and enable a vertical scroll bar. I know its possible I just can't find the documentation to do it.
Hi,
There's a VertScrollBar property on the column to enable a vertical scrollbar. I don't beleive there is any MaxLines property for a cell or column, though.
If you can't limit the size of the cell lines then it appears to me that all lines are displayed so why would you need a vert scrollbar if all lines are displayed?
I'm not sure I follow you. If there are more lines of text than fit in the visible height of the cell, then you need a scrollbar to see the rest of the text.
When you said you wanted to limit the number of lines, I interpreted that to mean you wanted to limit the number of lines of text the user can enter.
But now it sounds like maybe you meant you just want to set the height of the row, which is something you can do, of course, by using the row's Height property.
ok, I found it. Thanks again