>>Is it possible to have the cells/rows in a grid wrap text such that when the user keeps typing
>>the text wraps and the row gets correspondingy taller to show all of the text
>>like in an Excel spreadsheet?
>
>You can easily drop an EditBox into a column (setting, sparse = .F.), but to have the row automatically resize? Only you can guage whether the cost of even just trying to implement this is worth the value of the feature, but in this case I'd suggest you evaluate alternatives.
>
>For example, do people need to see all the text for each row, or just as they're typing the text? If the latter then, perhaps a hotkey to pop up MODIFY MEMO window would work. It's reliable and stable.
>
>Just for the record, I can see why this would be a useful feature, so I'm not being critical of the desire. Besides, I wouldn't be surprised if some smarty-pants posts code to do just this for you within minutes. ;-)
>
>You might want to post a wish list item.
Wish what? Dynamically adjustable row height in case there's an editbox (pretty much like StretchWithOverflow works on reports), or the thing which would come first - a CurrentRowHeightSource property for the grid?
The code to dynamically adjust height of an editbox wouldn't be too hard to write - just do a lot of text metric in the keypress() and adjust .height (OK, it would be hard to make it work right, specially if editbox allows tabs), and then this.parent.parent.rowheight=this.height. But if we want to have Excel-like grids, then we should have a way to have different row heights.