>I need to know if it is possible to change the row height from one row of a grid to another. What I have is a grid that has a comment box that the users want to be able to see the contents without scrolling in the edit box itself. However, they don't want to see a bunch of wasted space if the current comment only has one line entered. Any suggestions?
In these cases, I typically place a Grid on a Form and place an EditBox below it. I set the ControlSource of the EditBox to the Memo field in question and then issue a THISFORM.Edit1.Refresh() in the .AfterRowChange event of the Grid. The contents of the EditBox then reflect what's in the current row of the Grid. Leaving the "TextBox" version of the Memo (ie. memo/Memo) in the Grid serves as an indicator when the row is not current.
You could even get fancy and expand the Grid and contract the EditBox on the fly but I think that would make one woozy.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only